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 AndreVianna/aid-methodology --skill generate-profilegit clone --depth 1 https://github.com/AndreVianna/aid-methodologyWrote 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/andrevianna/aid-methodology/generate-profile)<a href="https://agentmods.dev/skills/andrevianna/aid-methodology/generate-profile"><img src="https://agentmods.dev/badge/skills/andrevianna/aid-methodology/generate-profile/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/andrevianna/aid-methodology/generate-profile"><img src="https://agentmods.dev/badge/skills/andrevianna/aid-methodology/generate-profile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00063 | $0.03251 |
| Opus 5.5 | $0.00025 | $0.01300 |
| Sonnet 5.5 | $0.00013 | $0.00650 |
| Haiku 4.5 | $0.00006 | $0.00325 |
Grade C, and why
generate-profile scanned grade C with 1 finding 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 26d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf .agents/skills/aid-* .aid/runtime How it starts
The opening of the file, as written. The whole thing — 303 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AID Install-Tree Generator
Maintainer-only skill — outside
canonical/. This is the lone exception to the canonical-source pattern. It lives at.claude/skills/generate-profile/only and is NOT incanonical/skills/. Edits to this skill are made directly to its files. Reason: it generates the profile trees, so it cannot itself be generated from canonical without a chicken-and-egg deployment problem.
This skill regenerates the per-tool profile trees (profiles/claude-code/, profiles/codex/, profiles/cursor/,
profiles/copilot-cli/, profiles/antigravity/) from the canonical agents (canonical/agents/) and the per-tool
profile TOMLs (profiles/*.toml). Skills and the runtime are never rendered: release.sh copies them byte-for-byte
from canonical/ into the shared payload.
When to run: any time canonical content is edited (agents and templates are rendered; skills and the runtime reach this repo's install through the dogfood resync that the run ends with), and before committing those changes. Also run after any manual edit to a profile tree to check it against canonical. The run overwrites manual edits.
Safety boundary: the generator deletes each profiles/<tool>/ directory in full and renders it again. It
touches nothing else in the render step, and no manifest is written or read. Never hand-edit a profile tree: the next
run overwrites it, and the CI render-drift job fails when a profile tree differs from a fresh render.
Pre-flight Checks
Before executing any state, verify:
-
Python 3.11+ is available:
python --versionRequired for
tomllib(stdlib from 3.11). Abort with clear error if unavailable. -
canonical/directory exists at the repo root:ls canonical/agents/ canonical/skills/ canonical/aid/templates/ -
At least one profile TOML exists:
ls profiles/ -
The repo is a git working tree (for the REPORT
git diff --stat):git rev-parse --git-dir
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- scripts/aid_profile.py 13 KB runs code
- scripts/build-shortcut-skills.py 16 KB runs code
- scripts/render_lib.py 1.9 KB runs code
- scripts/render.py 9.4 KB runs code
- scripts/run_generator.py 2.3 KB runs code
- scripts/sync_dogfood.py 5.3 KB runs code
- scripts/verify_advisory.py 2.7 KB runs code
- scripts/verify_deterministic.py 5.8 KB runs code
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.
- 26d ago Changed · +30 lines · +3 tokens per session scan A → C e9b84f3acf38
- 2mo ago First seen · 273 lines · 60 tokens per session scan A 8cf9e78cd840
generate-profile is a skill published in the GitHub repository AndreVianna/aid-methodology (6 stars, last pushed 11d ago), licensed MIT. It adds 63 tokens to every session and 3,251 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
generate-profile compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| generate-profileAndreVianna/aid-methodology | Skill | 6 | 11d ago | MIT | C | 63 | Claude Code |
| imagegenopenai/codex | Skill | 134k | today | Apache-2.0 | A | 113 | Codex |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 79k | yesterday | MIT | A | 200 | Claude Code, Codex |
| playwright-climicrosoft/playwright | Skill | 100k | yesterday | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 394k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 314k | 4d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 143k | today | MIT | A | 95 | Claude Code |