Borrowing it
Nothing to install: this file belongs to aspenkit/aspens. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/aspenkit/aspens/main/.agents/skills/template-library/SKILL.mdgit clone --depth 1 https://github.com/aspenkit/aspensWrote 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/aspenkit/aspens/template-library)<a href="https://agentmods.dev/skills/aspenkit/aspens/template-library"><img src="https://agentmods.dev/badge/skills/aspenkit/aspens/template-library/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/aspenkit/aspens/template-library"><img src="https://agentmods.dev/badge/skills/aspenkit/aspens/template-library.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 findings, 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 Agent Snooping · line 35 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
- medium Agent Snooping · line 54 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
- medium Agent Snooping · line 55 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00043 | $0.01286 |
| Opus 5.5 | $0.00017 | $0.00514 |
| Sonnet 5.5 | $0.00009 | $0.00257 |
| Haiku 4.5 | $0.00004 | $0.00129 |
Grade A, and why
template-library 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.
How it starts
The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are working on the template library — bundled agents, slash commands, hooks, and settings that users browse and install into their repos.
Domain purpose
aspens add <type> [name] copies curated templates into a consumer repo's .claude/ directories so users get working agents, slash commands, hooks, and settings without authoring them. The same template tree is reused by aspens doc init (hook installation, recommended agents) and aspens save-tokens (handoff tooling). Custom skills can also be scaffolded blank or LLM-generated from a reference doc.
Key Concepts
- Four resource types for
add:agent→.claude/agents,command→.claude/commands,hook→.claude/hooks. A fourth typeskillis handled separately (not template-based). - Save-tokens templates:
save-tokens.mjsis the runtime entry point for all three hook entry points (statusline, prompt-guard, precompact). Shell wrappers (save-tokens-*.sh) resolve project dir and delegate to the.mjsfile. Slash commands (save-handoff.md,resume-handoff.md,resume-handoff-latest.md) provide user-invokable handoff management. These are installed byaspens save-tokensoraspens doc init --recommended, not byaspens add. - Codex-only restriction:
add agent,add command, andadd hookthrowCliErrorfor Codex-only repos. Skills work with both targets. - Target-aware skill commands:
addSkillCommandandgenerateSkillFromDocresolve the active target viaresolveSkillTarget(config). Skill paths usetarget.skillsDirandtarget.skillFilename. - Backend-aware generation:
generateSkillFromDocusesrunLLM()to dispatch to Claude or Codex based on config. - Hook templates (monorepo-aware): Shell hooks compute
PROJECT_DIRfrom the script's own location (cd "$SCRIPT_DIR/../.." && pwd) and pass it asASPENS_PROJECT_DIRto.mjscounterparts. Save-tokens shell hooks follow the same pattern. - Settings template quoting: Hook commands in
settings.jsonare wrapped in double quotes for shell safety. doc inithook installation (step 13): Generatesskill-rules.json, copies hook files, generatespost-tool-use-tracker.shwith domain patterns, mergessettings.jsonwith backup.doc init --recommendedextras (step 15): Copies all bundled agent templates to.claude/agents/(skips existing), addsdev/to.gitignore.- Template discovery:
listAvailable()reads template dir, filters.md/.shfiles, regex-parsesname:anddescription:. - No-overwrite policy:
addResource()skips files that already exist. Same foraddSkillCommand. - Plan/execute gitignore: Adding
planorexecuteagents auto-addsdev/to.gitignorefor plan storage.doc init --recommendedalso ensuresdev/in.gitignore. - Base-skill warning for agents:
addResource()prints a non-fatal yellow warning when installing an agent if.agents/skills/base/SKILL.mdis missing, prompting the user to runaspens doc init. The agent still installs.
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 · 59 lines · 43 tokens per session scan A 668cbffb8a00
template-library is a skill published in the GitHub repository aspenkit/aspens (103 stars, last pushed 1mo ago), licensed MIT. It adds 43 tokens to every session and 1,286 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-08-30.
Other skills, from other repositories
handoff
Hand work to another tool, account or machine and pick it up there, in two words. Use when the user says "hand off", "hand off all", "out of tokens", "switching accounts", "pick up" or "continue".
sw-handoff
Hand work to another tool, account or machine and pick it up there, in two words. Use when the user says "hand off", "hand off all", "out of tokens", "switching accounts", "pick up" or "continue".
gws-gmail-send
Skill "gws-gmail-send" from googleworkspace/cli, covering gmail +send, usage, flags, examples and tips.
gws-gmail-watch
Gmail: Watch for new emails and stream them as NDJSON.
gws-gmail
Gmail: Send, read, and manage email.
obsidian-bases
Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.