cyberneticlibrary

Clean Obsidian callout syntax

pa-callout-cleanupskillsetup L1144
edonyzpc/personal-assistant
What it does

Remove stale or duplicate callout annotations from Python AST-based code

Best for

Code maintenance where obsolete callout metadata clutters readability.

Inputs
  • · Python source file with callout decorators/comments
Outputs
  • · Cleaned Python file without dead callouts
Requires
  • · ast module
  • · Python parser
Preconditions

Python source file valid; callouts identifiable by decorator or comment marker

Failure modes
  • · Callout marker ambiguous → cleanup removes active annotation
  • · Syntax error in source → parsing fails