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 choiyounggi/groundwork --skill habitgit clone --depth 1 https://github.com/choiyounggi/groundworkWrote 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/choiyounggi/groundwork/habit)<a href="https://agentmods.dev/skills/choiyounggi/groundwork/habit"><img src="https://agentmods.dev/badge/skills/choiyounggi/groundwork/habit/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/choiyounggi/groundwork/habit"><img src="https://agentmods.dev/badge/skills/choiyounggi/groundwork/habit.svg" alt="Reviewed on agentmods" width="80" 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.00064 | $0.02082 |
| Opus 5.5 | $0.00026 | $0.00833 |
| Sonnet 5.5 | $0.00013 | $0.00416 |
| Haiku 4.5 | $0.00006 | $0.00208 |
Grade A, and why
habit 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 — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.
memory-loop: habit
HABITS.md (default ~/.claude/groundwork/HABITS.md, created by the setup
skill) is the frame where lessons become standing behavior. If the file is
missing, tell the user to run /memory-loop:setup (step 2) first.
It is imported into every session, so it is re-read on every request — its size is paid per turn, multiplied by the length of the conversation. That is the whole reason this skill is mostly a set of gates: a habit file that captures everything is a file nobody can afford to load, and an unloaded habit file teaches nothing.
Three gates — all three, before anything is written
A lesson enters HABITS.md only when it clears all three. Answer them in order and out loud; a candidate that fails any one of them has a better home (see the routing table).
- Damage — "If this behavior fails, does damage remain?" Production data or infrastructure, outbound messages (chat, PRs, mail), secrets, long-term memory, safety hooks, destructive commands, release/operations decisions. Damage later repaired but already done (costs incurred, a wrong external post, polluted memory) counts as YES. This gate decides 🛑 vs 🟢, not whether to write.
- Recurrence — "Has this actually happened more than once, or is there a named reason the next occurrence is likely?" One incident is a case, not a habit. A single 🛑-grade event still qualifies — the first breach of a damage-remaining line is one too many — but a single 🟢-grade slip does not.
- Generality — "Does this hold outside this one tool, repo, or file?" A rule naming a specific script, a specific flag's quirk, or one repo's layout is knowledge about that thing, not a working habit. Ask what the rule would say if that name were removed: if nothing is left, it fails this gate.
Context can flip gate 1: the same verification shortcut that is 🟢 during read-only exploration becomes 🛑 the moment its output feeds an external post, a PR, long-term memory, or a destructive change. Judge by where the output goes, not by the action alone.
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 Changed · +21 lines fa513a212414
- 2mo ago Changed · -2 tokens per session d3b5b6658393
- 2mo ago Changed · +47 lines · +13 tokens per session 0a5ee7dad892
- 3mo ago First seen · 90 lines · 53 tokens per session scan A dd1fa87e4a38
habit is a skill published in the GitHub repository choiyounggi/groundwork (3 stars, last pushed 18d ago), licensed MIT. It adds 64 tokens to every session and 2,082 once invoked, about $0.0003 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-31.
habit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| habitchoiyounggi/groundwork | Skill | 3 | 18d ago | MIT | A | 64 | Claude Code |
| reflectsneg55/agent-starter | Skill | 77 | 4d ago | MIT | A | 37 | Claude Code |
| remembersneg55/agent-starter | Skill | 77 | 4d ago | MIT | A | 38 | Claude Code |
| dreamsneg55/agent-starter | Skill | 77 | 4d ago | MIT | B | 27 | Claude Code |
| siftxobotyi/cc-foundry | Skill | 23 | 3d ago | MIT | A | 52 | Claude Code |
| audit-contextMalo-T/claude-toolbelt | Skill | 2 | 4d ago | MIT | A | 249 | Claude Code |
| handoffMalo-T/claude-toolbelt | Skill | 2 | 4d ago | MIT | A | 151 | Claude Code |