mk:project-context

mk:project-context is a skill for Claude Code from ngocsangyem/MeowKit. It costs 44 tokens per session (1,028 once invoked), scanned A, original, MIT.

A project documentation tool that creates or updates docs/project-context.md, a shared guide to the codebase’s technologies, conventions, testing habits, and known anti-patterns.

In plain words
What is it for?
Use it to scan a codebase and create the shared project guide, or refresh that guide when the project changes.
Why use it?
It gives every coding agent the same project rules and background, reducing conflicting decisions and repeated guesses.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions CLAUDE.md.

Good fit Use it to scan a codebase and create the shared project guide, or refresh that guide when the project changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ngocsangyem/meowkit/project-context
Install

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.

Any agent
npx skills add ngocsangyem/MeowKit --skill project-context
Clone the repo
git clone --depth 1 https://github.com/ngocsangyem/MeowKit

Made for: Claude Code.

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 mk:project-context

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ngocsangyem/meowkit/project-context"><img src="https://agentmods.dev/badge/skills/ngocsangyem/meowkit/project-context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,028 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.00044 $0.01028
Opus 5 $0.00022 $0.00514
Sonnet 5 $0.00009 $0.00206
Haiku 4.5 $0.00004 $0.00103

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

Security

Grade A, and why

mk:project-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 9d 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.

.claude/skills/project-context/SKILL.md · 113 lines

How it starts

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

Project Context Generator

Creates docs/project-context.md — the agent "constitution" that every agent loads on activation.

To generate the full documentation suite (README, architecture, code standards, etc.), use mk:docs-init instead. mk:project-context generates only the agent constitution.

Purpose

Eliminate context drift between agents. Without a single authoritative file, agents infer conventions independently and make conflicting decisions. Project context solves this by providing one document all agents read first.

Actions

generate

Scan the codebase and create docs/project-context.md from scratch.

Scan targets:

  • package.json / Cargo.toml / go.mod / pyproject.toml → tech stack
  • tsconfig.json / eslint.* / prettier.* → code conventions
  • **/test/** / **/*.test.* / **/*.spec.* / **/*.cy.* → testing patterns
  • Existing docs/ → architecture decisions, prior context
  • .env.example → environment variables (names only, not values)

Output: docs/project-context.md using templates/project-context-template.md

update

Re-scan codebase and update existing docs/project-context.md. Preserves manual edits in sections marked <!-- manual -->.

init

Write a TODO-filled skeleton to docs/project-context.md for greenfield projects where generate would produce empty sections (no codebase to scan yet).

Behaviour:

  • If docs/project-context.md already exists → refuse with error. Use update instead.
  • If absent → write templates/skeleton.md to docs/project-context.md.
  • Creates docs/ directory if it does not exist.

When to use init vs generate:

Situation Action
Empty or near-empty project, < 5 source files init — fill manually
Established project with real code generate — auto-derive
Existing docs/project-context.md is stale update — re-scan, preserve manual edits

When to Run

  • First time: After mk:bootstrap or mk:docs-init
  • After architecture changes: New framework, new database, major refactor
  • Periodically: When agents produce inconsistent code (symptom of stale context)

Read the full file on GitHub · 113 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 113 lines · 44 tokens per session scan A ebbb1b242a67

Subscribe to this mod's changes

mk:project-context is a skill published in the GitHub repository ngocsangyem/MeowKit (14 stars, last pushed 1mo ago), licensed MIT. It adds 44 tokens to every session and 1,028 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-09-03.

Related

Other skills, from other repositories

learn-from-fix

Capture Elixir/Ecto/LiveView lessons and Hex API rules. Use after corrections or when asked to document learning, record a lesson, prevent a fixed mistake, or remember package guidance with --library.

oliver-kriska/claude-elixir-phoenix · 46 tokens

recall

Recall prior work from past sessions — how a bug was fixed, what was decided, where a pattern lives. Use when asked 'have we done this before' or 'how did I fix X' in Elixir/Phoenix work. ccrider MCP when available, else git + solution docs.

oliver-kriska/claude-elixir-phoenix · 64 tokens

assigns-audit

Inspect LiveView socket assigns for memory bloat — missing temporaryassigns, unused assigns, unbounded lists needing streams, memory estimates. Use when LiveView memory grows or you need to add temporaryassigns.

oliver-kriska/claude-elixir-phoenix · 47 tokens

compound-docs

Searchable Elixir/Phoenix/Ecto solution documentation system with YAML frontmatter. Builds institutional knowledge from solved problems. Use when consulting past solutions before investigating new issues.

oliver-kriska/claude-elixir-phoenix · 38 tokens

continuous-learning-construction

Automatically extract patterns, best practices, and reusable knowledge from construction automation sessions to improve future performance.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 24 tokens

remarkable-memory

Turns handwritten reMarkable notes into a queryable semantic memory. Syncs pages from a reMarkable tablet (via the reMarkable MCP server, rmapi, or a USB/SSH bridge), renders each page to an image and reads the handwriting with Claude vision — no OCR key — then extracts each page into confidence-scored, human-editable…

mostafa-drz/claude-skills · 194 tokens