Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add Hainrixz/aprende-skill/plugin install aprendeWrote 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/commands/hainrixz/aprende-skill/aprende-enable-hooks)<a href="https://agentmods.dev/commands/hainrixz/aprende-skill/aprende-enable-hooks"><img src="https://agentmods.dev/badge/commands/hainrixz/aprende-skill/aprende-enable-hooks.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.1 | $0.00040 | $0.00797 |
| Opus 5 | $0.00020 | $0.00398 |
| Sonnet 5 | $0.00008 | $0.00159 |
| Haiku 4.5 | $0.00004 | $0.00080 |
Grade B, and why
aprende-enable-hooks scanned grade B 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 6d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
2. **Read current settings.** `cat ~/.claude/settings.json` and parse it. How it starts
The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/aprende-enable-hooks
When invoked, install (or confirm installation of) the aprende hooks into
the user's global ~/.claude/settings.json. The hooks themselves ship in
the plugin under ${CLAUDE_PLUGIN_ROOT}/hooks/hooks.json; this command
splices their entries into the user-level settings so they run on every
session.
Procedure
-
Backup. Copy
~/.claude/settings.jsonto~/.claude/settings.json.aprende-backup-<YYYY-MM-DD-HHMM>before any write. If the backup already exists for today's minute, skip (idempotent). -
Read current settings.
cat ~/.claude/settings.jsonand parse it. If the file doesn't exist, create it with{}. -
Check for existing aprende hooks. Look for the marker comment
"// aprende-hooks-installed": trueinside the JSON (use a top-level field, since JSON has no comments).- If present, print:
and exit.aprende hooks are already installed in ~/.claude/settings.json. To remove, run /aprende-disable-hooks.
- If present, print:
-
Splice the hooks. Add the following entries to the
hookskey (create the key if missing). Ifhooks.PostToolUseorhooks.Stoparrays already exist with other entries, append — do not replace:{ "aprende-hooks-installed": true, "hooks": { "PostToolUse": [ { "matcher": "Bash|Edit|Write", "hooks": [ { "type": "command", "command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks-handlers/capture-signal.sh\"" } ] } ], "Stop": [ { "hooks": [ { "type": "command", "command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks-handlers/stop-suggest.sh\"" } ] } ] } }Note: When installed via the plugin marketplace, the hooks are loaded automatically from
${CLAUDE_PLUGIN_ROOT}/hooks/hooks.jsonand this command becomes a no-op (just confirms installation). When installed manually by copyingskills/aprende/to~/.claude/skills/, this command is the way to wire up the hooks — but the user must also copyhooks-handlers/*.shsomewhere and adjust the${CLAUDE_PLUGIN_ROOT}reference to an absolute path. The README documents both paths.
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.
- 6d ago First seen · 99 lines · 40 tokens per session scan B ec4a1379baee
aprende-enable-hooks is a command published in the GitHub repository Hainrixz/aprende-skill (23 stars, last pushed 1mo ago), licensed MIT. It adds 40 tokens to every session and 797 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
deps-audit
Audit project dependencies for vulnerabilities, outdated packages, license conflicts, and supply chain risks — then provide actionable remediation strategies.
template
Manage issue templates for streamlined issue creation.
auto-browse
Auto-browse — learn, optimize, and graduate browser operations or web data-mining workflows.
discover
Search the Everruns(Dev) API catalog for available operations.
fix
Universal debugging and fix application with semantic code analysis.
t800-onboard
Для чата с новичками. Показывает, что настроено в Cursor (global + local), и что умеет отдел T-800.