/anton-core:cyclesfrom anton-core
Finds circular dependencies and recursive call loops in the code graph, for a package or the whole repo. Use for 'are there circular dependencies in X', 'dependency cycles', 'import cycle' or 'does X call itself'.
Ships in anton-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Finds simple directed cycles, each reported once with its edge types and per-hop confidence. With --containing X, every simple cycle through X; without it, every strongly connected component holding a function, method or component yields its shortest cycle, over the whole graph.
Run the command that fits with Bash, then answer from what it prints. Never answer before it has run: what the store holds is unknown until it does.
anton graph query cycle-detect [--containing <X>] --rel-types CALLS --max-cycles K --max-cycle-len N [--exclude-ambiguous] [--repo <slug>]
--containing takes a symbol id: resolve a name with anton memory recall --code --query <name> first. For a package, run all-mode and keep the cycles whose nodes sit under its path. For inheritance cycles, pass --containing <Class> --rel-types EXTENDS,IMPLEMENTS. Outside any checkout of the repo, pass --repo <slug>; inside a linked worktree the walk answers for its branch.
One row per cycle, shortest first, its path[] closing on its first node; nodes maps ids to titles and paths. truncated means --max-cycles cut the list. A warnings entry says the store is still building or stale and what to tell the operator.
Contract: graph-query in the anton-core CLI contract.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
24 skills in this plugin
/bulk-importImports a whole directory of files into Anton Core's memory, resuming an interrupted run. Use for 'import every markdown file in a folder', 'bulk import this folder' or 'ingest this directory'. For one file, use `save`./calleesLists every function a function or method calls, directly or transitively, from the code graph. Use for 'what does X call', 'what does X call all the way down', 'what does X depend on' or 'downstream of X', instead of grep or recall./callersLists every function that calls a function or method, directly or transitively, from the code graph. Use for 'which functions call X', 'who calls X', 'find usages of X' or 'where is X called from', instead of grep or recall./dashboardOpens, reuses or stops the read-only browser dashboard. Use for 'open the dashboard', 'dashboard', 'show me the graph/memory/tasks in the browser' or 'stop the dashboard'./expandShows the full content of saved memories by id. Use for 'show me the full content of item ref-…', 'expand that id', 'tell me more about it', or reading a recall hit before quoting it. Pairs with `explore`./exploreWalks the relationship graph around one saved memory by id — everything linked to it and how. Use for 'what is connected to item ref-…', 'walk its neighbourhood' or 'what is related to this note'. Pairs with `expand`.npx claudepluginhub to-infinity-labs/anton-core-plugin --plugin anton-core