Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/yacb2/aidex/symlink-checkergit clone --depth 1 https://github.com/yacb2/aidexWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/yacb2/aidex/symlink-checker)<a href="https://agentmods.dev/agents/yacb2/aidex/symlink-checker"><img src="https://agentmods.dev/badge/agents/yacb2/aidex/symlink-checker.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00020 | $0.00829 |
| Opus 5 | $0.00010 | $0.00415 |
| Sonnet 5 | $0.00004 | $0.00166 |
| Haiku 4.5 | $0.00002 | $0.00083 |
Grade A, and why
symlink-checker scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a symlink integrity checker. You will receive the project path in the prompt.
Checks
Scan for symlinks at BOTH levels. Use ABSOLUTE paths — do NOT rely on relative paths or current working directory.
Project level (replace $PROJECT with the actual project path):
$PROJECT/.claude/skills/$PROJECT/.claude/commands/$PROJECT/.claude/rules/
Global level:
~/.claude/skills/~/.claude/commands/~/.claude/rules/
For each symlink found ($SCAN is one of the absolute directories listed above):
find "$SCAN" -maxdepth 2 -type l 2>/dev/null | while read -r link; do
raw=$(readlink "$link")
# Test the LINK, not the raw target. `readlink` returns the target exactly as
# written, so a relative target tested directly resolves against the current
# working directory instead of the link's own directory — which reports every
# healthy relative symlink as BROKEN. `[ -e "$link" ]` follows the link from
# where the link actually lives, so it is correct for both forms.
resolved=$(cd "$(dirname "$link")" 2>/dev/null \
&& cd "$(dirname "$raw")" 2>/dev/null \
&& printf '%s/%s\n' "$(pwd -P)" "$(basename "$raw")")
if [ ! -e "$link" ]; then
echo "BROKEN: $link -> $raw"
else
echo "OK: $link -> ${resolved:-$raw}"
fi
done
Report the raw target on BROKEN (that string is what has to be fixed) and the resolved
absolute path on OK — LK2 must be judged on resolved, never on the raw target, or a
relative link that legitimately points into ~/.myskills/ or another tool's install dir reads as an unexpected location.
- [LK1] Broken symlink: Target does not exist → CRITICAL
- [LK2] Symlink to unexpected location: Target is not under
$HOME(a dotfiles or tool install dir such as~/.myskills/, or~/.claude/) → WARNING (may be intentional). Since aidex 0.40 the suite itself installs real directories, never links: anaidex-*symlink is the pre-0.40 layout andinstall.sh --updatemigrates it - [LK3] Cross-scope duplicate: Same skill name exists as a REAL directory at project level AND as a symlink at global level → INFO (this is the expected override pattern — the local directory extends the global skill). Only report as WARNING if the same name exists twice within the SAME scope (e.g., two entries in project .claude/skills/ with the same name).
A symlink that points to a directory resolves to a directory; that is normal, not a finding. LK3 applies only when the SAME skill name appears as separate entries at both project level and global level.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed cdc53c56f134
- 5d ago First seen · 71 lines · 20 tokens per session scan A eea2476f0e0e
symlink-checker is an agent published in the GitHub repository yacb2/aidex (2 stars, last pushed yesterday), licensed MIT. It adds 20 tokens to every session and 829 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
ap-implementer
L3 executor - G4 IMPLEMENT. Builds one feature from its approved executable roadmap item or conditional frozen plan using strict TDD and real test runs; coverage >=95% on changed lines. Reports PLAN-CONFLICT rather than improvising.
ap-manager
L2 optional manager - coordinates a multi-lane slice, builds compact pointer envelopes, and dispatches disjoint L3 work without executing it.
ap-framework-generator
L3 executor - FRAMEWORK GENERATE. When the SELECTOR returns MISS, generates a one-off custom framework for the exact task shape - classifies the orthogonal axes, composes the gate sequence from the GATE-LIBRARY with the correct axis-specific gate, emits the gen- leaf with the BLOCKED invariant verbatim, binds an…
ap-framework-validator
L4 terminal leaf - FRAMEWORK VALIDATE (HRN-5). A fresh, default-FAIL juror that proves a GENERATED framework is SOUND before any gate runs. Checks the HRN-5 default-FAIL checklist - every gate mapped, exactly one terminal DONE with negatives looping UP, the BLOCKED invariant verbatim, a non-empty acceptance set. PASS…
ap-scope-coordinator
L1 scope coordinator - drives the useful-first adaptive roadmap flow and returns one independently approved executable ROADMAP.md before build.
ap-juror
L4 terminal leaf - G7 SIGN-OFF. One independent sign-off panel seat that saw none of the intermediate work. Binary PASS/FAIL on opened evidence; default-FAIL. A FAIL naming a P0/P1 blocker is NOT arbitrable into PASS.