skill-compiler

skill-compiler is a skill for Claude Code, Codex from winstonkoh87/Athena-Public. It costs 46 tokens per session (1,709 once invoked), scanned A, original, MIT.

A workflow that turns successful solutions to new kinds of tasks into reusable skill files. It is intended to capture lessons that would otherwise remain only in session logs.

In plain words
What is it for?
Use it after completing a new task that required several steps or tool calls and produced a reusable method.
Why use it?
It reduces repeated problem-solving by recording a proven approach for future tasks when the work was novel, complex, and successful.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for hermes-agent. Also seen: model in frontmatter; mentions AGENTS.md; built for hermes-agent.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is - [Related skill](../../therapeutic-ifs/SKILL.md).

Good fit Use it after completing a new task that required several steps or tool calls and produced a reusable method.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/winstonkoh87/Athena-Public
agentmods
npx agentmods add skills/winstonkoh87/athena-public/skill-compiler

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for skill-compiler

README.md
[![agentmods](https://agentmods.dev/badge/skills/winstonkoh87/athena-public/skill-compiler/github.svg)](https://agentmods.dev/skills/winstonkoh87/athena-public/skill-compiler)
Your own site
<a href="https://agentmods.dev/skills/winstonkoh87/athena-public/skill-compiler"><img src="https://agentmods.dev/badge/skills/winstonkoh87/athena-public/skill-compiler/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.

agentmods 80×15 button for skill-compiler

Your own site · 80×15
<a href="https://agentmods.dev/skills/winstonkoh87/athena-public/skill-compiler"><img src="https://agentmods.dev/badge/skills/winstonkoh87/athena-public/skill-compiler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,709 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.01709
Opus 5 $0.00023 $0.00855
Sonnet 5 $0.00009 $0.00342
Haiku 4.5 $0.00005 $0.00171

Measured 10d ago against content hash 8bb2e5fef362, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

skill-compiler 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 10d 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.

examples/skills/workflow/skill-compiler/SKILL.md · 179 lines

How it starts

The opening of the file, as written. The whole thing — 179 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill Compiler — Solved-to-Skill Automation

Source: Hermes Agent by Nous Research (May 2026) Core Claim: "It's the only agent with a built-in learning loop — it creates skills from experience." Athena Adaptation: Hermes does this via Python (agent/curator.py + tools/skill_usage.py). Athena does it via workflow-level pattern detection + markdown SKILL.md generation.

The Problem This Solves

Athena currently relies on manual insight filing during /end sessions. The [S] and [V] markers in session logs capture learnings, but they remain trapped in session logs — they don't become reusable skills automatically.

Hermes solved this: when the agent completes a novel task, it automatically creates a new skill from the solution, so the same problem class never requires re-derivation.

When to Use

Automatic Trigger (Post-Task Detection)

After any task completion where ALL of the following are true:

  1. Novelty: The task required a solution path not covered by any existing skill
  2. Complexity: Task took ≥5 agent turns OR involved ≥3 tool calls
  3. Success: User confirmed the solution worked (explicit or implicit — no corrections in final 2 turns)
  4. Reusability: The solution generalizes beyond this specific instance

Manual Trigger

User says: "compile this into a skill", "save this as a skill", "I want to remember how we did this"

Execution Flow

Phase 1: Pattern Extraction (Analysis)

Perform private analysis in <analysis> tags (not written to files):

<analysis>
1. What was the PROBLEM CLASS? (Not the specific instance)
   - e.g., "Pairs trading dashboard with cointegration analysis"
   - NOT "Dashboard 4-decimal rounding fix"

2. What was the SOLUTION ARCHITECTURE?
   - Key steps in order
   - Tools/APIs used
   - Decision points and their resolution criteria

3. What were the FAILURE MODES encountered?
   - What went wrong initially?
   - What heuristics resolved it?

4. What is the REUSE SURFACE?
   - When would someone encounter this problem class again?
   - What context_trigger keywords would match?

5. OVERLAP CHECK
   - Which existing skills partially cover this?
   - Is this better as a new skill or a subsection of an existing one?
</analysis>

Read the full file on GitHub · 179 lines

Changes

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.

  1. 10d ago First seen · 179 lines · 46 tokens per session scan A 8bb2e5fef362

Subscribe to this mod's changes

skill-compiler is a skill published in the GitHub repository winstonkoh87/Athena-Public (587 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 1,709 once invoked, about $0.0002 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-30.