context

context is a skill for Claude Code from chan4lk/specclaw. It costs 20 tokens per session (763 once invoked), scanned A, original, MIT.

A shared project document at .specclaw/context.md that stores coding rules, patterns, style choices, architecture decisions, and constraints.

In plain words
What is it for?
Viewing, adding, or editing project rules and architecture notes, or restoring the document from its template.
Why use it?
It keeps important project decisions in one place so the planning, building, and checking steps use the same guidance.

Skill for Claude Code

Written for Claude Code: $CLAUDE_PLUGIN_ROOT variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the specclaw-extras plugin — 8 skills, 7 agents shipped together

Good fit Viewing, adding, or editing project rules and architecture notes, or restoring the document from its template.

Compare 6 skills from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add chan4lk/specclaw
Claude Code
/plugin install specclaw-extras

Made for: Claude Code.

Or install specclaw-extras, the plugin that ships this one along with the rest of its 8 skills, 7 agents.

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 context

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/chan4lk/specclaw/context"><img src="https://agentmods.dev/badge/skills/chan4lk/specclaw/context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 763 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.
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.00020 $0.00763
Opus 5.5 $0.00008 $0.00305
Sonnet 5.5 $0.00004 $0.00153
Haiku 4.5 $0.00002 $0.00076

Measured 1mo ago against content hash d77e1988e2f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

plugins/specclaw-extras/skills/context/SKILL.md · 60 lines

How it starts

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

specclaw context

First, run specclaw-ensure-init .specclaw — idempotently creates .specclaw/ if it doesn't exist.

Manage .specclaw/context.md — the project's living architecture document. All lifecycle skills (plan, build, verify) load this file automatically. It is committed to the project repo so it is shared across the team.

Sub-commands

show

Print the current contents of .specclaw/context.md.

If the file does not exist, print: No context.md found. Run '/specclaw-extras:context add' to create one.

add

Add a new rule, pattern, decision, or constraint to the context document.

  1. If .specclaw/context.md does not exist, seed it from $CLAUDE_PLUGIN_ROOT/templates/context.md first.
  2. Ask the operator: "What would you like to add? Describe the rule, pattern, or decision — and which section it belongs in (Architecture, Style, Patterns, Decisions, Constraints)."
  3. Read the current context.md.
  4. Write the new entry into the correct section. Keep the entry concise (1-5 lines). Preserve all other sections unchanged.
  5. Write the updated file back to .specclaw/context.md.
  6. Show the updated section to the operator for confirmation.
  7. Commit: git add .specclaw/context.md && git commit -m "docs(context): add <brief description of what was added>".

edit

Rewrite a specific section of the context document.

  1. If .specclaw/context.md does not exist, seed it from $CLAUDE_PLUGIN_ROOT/templates/context.md first.
  2. Ask the operator: "Which section do you want to edit? (Architecture Overview / Coding Style / Key Patterns / Technology Decisions / Constraints / Recent Decisions)" and "What should the new content be?"
  3. Read the current context.md.
  4. Replace only the specified section's content. Preserve all other sections and the document structure (headings, Last updated line).
  5. Update the _Last updated_ line to today's date.
  6. Write the updated file back to .specclaw/context.md.
  7. Show the diff (old vs new section) to the operator.
  8. Commit: git add .specclaw/context.md && git commit -m "docs(context): update <section name> section".

Read the full file on GitHub · 60 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. 1mo ago Changed · -41 tokens per session d77e1988e2f6
  2. 3mo ago First seen · 60 lines · 61 tokens per session scan A a1e1cf771b1e

Subscribe to this mod's changes

context is a skill published in the GitHub repository chan4lk/specclaw (15 stars, last pushed 11d ago), licensed MIT. It adds 20 tokens to every session and 763 once invoked, about $0.0001 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.

Related

context compared with skills from other repositories

context next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
contextchan4lk/specclawSkill1511d agoMITA20Claude Code
kaiolehsvyrydov/AI-development-teamSkill1811d agoMITA81Claude Code
debriefadamlinscott/claude-skillsSkill412d agoMITA137Claude Code
brief-meadamlinscott/claude-skillsSkill412d agoMITA145Claude Code
memory-auditadamlinscott/claude-skillsSkill412d agoMITA58Claude Code
context-compressionMaxForAI/TokenlessSkill476mo agoMITA39Claude Code
update-briefsrbah31/claude-code-workflowSkill55mo agoApache-2.0A77Claude Code