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 skills add Zfinix/aster --skill structural-editsgit clone --depth 1 https://github.com/Zfinix/asterWrote 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/skills/zfinix/aster/structural-edits)<a href="https://agentmods.dev/skills/zfinix/aster/structural-edits"><img src="https://agentmods.dev/badge/skills/zfinix/aster/structural-edits/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/zfinix/aster/structural-edits"><img src="https://agentmods.dev/badge/skills/zfinix/aster/structural-edits.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Excessive Agency · line 30 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.1 | $0.00049 | $0.00525 |
| Opus 5.5 | $0.00020 | $0.00210 |
| Sonnet 5.5 | $0.00010 | $0.00105 |
| Haiku 4.5 | $0.00005 | $0.00052 |
Grade A, and why
structural-edits 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 1mo ago.
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.
What it actually says
Structural edits
- ast_grep over search_files when syntax matters.
ast_grepwith a pattern likedbg!($X)orfn $NAME($$$ARGS)matches real code, not comments or string literals. Plain text search is fine for identifiers that appear nowhere else. Scope withpathto one directory when the change is local. - ast_edit over repeated edit_file when the same change repeats. One
pattern plus rewrite applies everywhere at once and returns a diff.
Three or more identical edits means ast_edit; one or two means edit_file.
Example: pattern
dbg!($X)with rewriteeprintln!("{:?}", $X)removes every debug print in the scope in one approval. - Metavariables carry the capture.
$Xcaptures a single node,$$$ARGScaptures a list. Reuse the same name in the rewrite; a name that appears only in the rewrite is an error, not an insertion. - Patterns must parse as the target language. A pattern that is not
valid syntax in the file's language matches nothing, silently. Write the
pattern in the language you are editing, and keep it narrow with context
(
$OBJ.foo($$$ARGS)rather thanfoo($$$ARGS)) so unrelated calls do not match. - Patterns exclude trailing semicolons. A pattern for
dbg!($X)matches the call, not the;after it. Do not put a semicolon in the pattern or the rewrite unless the statement itself is the target. - Run ast_grep first when unsure. A dry search with the same pattern shows exactly what ast_edit would touch, with no approval needed. If the match list surprises you, fix the pattern before rewriting.
- Read the diff at approval time. A too-broad pattern rewrites code you did not intend, and the diff is the only place you will see that. Every changed file goes through the same approval as edit_file; a Deny on one file stops the whole batch.
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.
- 1mo ago First seen · 35 lines · 49 tokens per session scan A 2aecb5676ee4
structural-edits is a skill published in the GitHub repository Zfinix/aster (133 stars, last pushed 2d ago), licensed Apache-2.0. It adds 49 tokens to every session and 525 once invoked, about $0.0002 per session on Opus 5.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-09-06.
Other skills, from other repositories
harness
Use when governing a workspace's control plane, code or not — the 01-TOOLS/ tooling layer, the 02-DOCS/ chaos→knowledge wiki, the root Knowledge map. Audits it, migrates legacy XX- folders, scaffolds provider tooling, sweeps the inbox, eats a file the person hands over ("cómete este fichero", "guárdalo en la…
diagnose-windows-sandbox-acl
Use on Windows for unexpected ALEGO sandbox access denials: workspace writes or listing fail, or an ordinarily readable path cannot be read. One bundled command inspects the path and every ancestor and repairs the ACL problems it proves in that same run. Expected confinement denials need no ACL repair.
office-pptx
Create, read, edit, and validate PowerPoint presentations (.pptx).
office-xlsx
Read, create, edit, and validate Excel workbooks, data, and formulas (.xlsx).
office-docx
Create, read, edit, and validate Word documents (.docx).
office-export-pdf
Convert an Office document to a requested PDF with LibreOffice Kit.