project-notes-context

A skill for keeping project-specific work context in private local notes separate from the code repository. It defines how to read and update rules, project overviews, handoffs, inbox items, and decisions.

In plain words
What is it for?
Loading repository-specific guidance, reading project overviews and handoffs, reviewing relevant inbox notes or past decisions, and updating approved persistent project information.
Why use it?
It preserves important project context between tasks without adding those notes to the repository, while allowing work to continue if the notes system is unavailable.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/mitszo/agent-notes-mcp/project-notes-context
Any agent
npx skills add mitszo/agent-notes-mcp --skill project-notes-context
Clone the repo
git clone --depth 1 https://github.com/mitszo/agent-notes-mcp

Made for: Claude Code, Codex.

Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,584 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00066 $0.01584
Opus 5 $0.00033 $0.00792
Sonnet 5 $0.00013 $0.00317
Haiku 4.5 $0.00007 $0.00158

Measured yesterday against content hash c1689db9e1af, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

project-notes-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 yesterday.

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/project-notes-context/SKILL.md · 46 lines

How it starts

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

プロジェクトノートのコンテキスト

プロジェクト固有の作業コンテキストを、リポジトリとは分離した private なローカルノートに保つ。この例では root ID を notes-work、ノートの配置を rules/projects/ とする。別の root ID や配置を使う場合は、スキル全体を自分の環境へ合わせて変更する。

コンテキストの読込み

  1. Git ルートから現在のリポジトリ名を取得する。Git リポジトリでなければ処理を止める。
  2. agent_notes MCP ツールと notes-work root が利用できる場合、まず rules/ を列挙する。プロジェクトノートを扱う作業では、project-notes- で始まる現在の共通規約を読む。
  3. 既知の正本である projects/<repository-name>/overview.mdprojects/<repository-name>/handoff.md は、列挙せず read_note で直接読む。どちらかが存在しない場合は、そのノートなしで続ける。
  4. inbox は root_id: notes-workpath_prefix: projects/<repository-name>/inbox/status: ["new", "triage"] を指定して list_notes で列挙し、現在の作業に関係するノートだけを read_note する。
  5. 過去の判断理由が現在の作業に関係する場合だけ decisions.md を読む。
  6. ノート、root、MCP サーバーが存在しない・利用できない場合はブロッカーにしない。リポジトリのコンテキストだけで作業を続け、ノートがないことだけを理由に新規作成しない。

コンテキストの更新

  • ユーザーが依頼した場合、またはユーザーが保存に合意した永続的な判断が生まれた場合だけ、プロジェクトノートを作成・更新する。
  • overview.md はプロジェクトの恒久的な概要、構成、技術選定、設計原則を扱う。handoff.md は現在のブランチ、未コミット変更、検証結果、現行の重要事項、次の行動を扱う。どちらも古い内容を追記で打ち消さず、現行の正を直接更新する。
  • handoff.md に有効な管理ブロック(<!-- agent-notes:managed <id> --> と対応する終端)がある場合は、read_note で取得した SHA-256 を指定して update_managed_blocks を使う。現在地として整合させる複数のブロックは、一回の呼出しでまとめて更新する。
  • 管理ブロックがない既存 handoff は、全文を読んだうえで SHA-256 付きの置換を使う。管理ブロックの導入はノート構造を変えるため、ユーザーが明示的に依頼または合意した場合だけ行う。管理ブロックが壊れている場合は推測して更新せず、書込みを行わずに原因を報告する。
  • 複数の既存ノートを整合させるときは、対象すべてを先に読み、それぞれの SHA-256 を指定して batch_update_notes を使う。作成と移動は一括更新に混ぜない。
  • 日付・判断・理由を簡潔にした記録を decisions.md に追記する。ブランチ固有の実装詳細・調査・検証・PR は branches/ に残す。
  • activity_log が有効な場合、永続的な判断・成果・次の行動を残す更新には、ユーザーの依頼または判断を主語にした簡潔な activity_summary を添える。機械的な更新や一時的な試行には付けない。
  • ノートを置換・移動する前には必ず読込みを行い、更新時に得た SHA-256 を指定する。

branch ノートの再照合

  • Git リポジトリで実質的な作業を再開する時だけ、branches/ を対象に lifecycle: active のノートを列挙し、候補を読んでローカル Git の現在ブランチ、HEAD、ローカルブランチ一覧、作業ツリーと照合する。
  • 全ローカルブランチを個別に評価しない。ノートの HEAD と実際の HEAD が異なるもの、ノート記載のブランチがローカルにないもの、非 base branch なのに対応する active ノートがない現在ブランチだけを、まとめて更新候補として報告する。
  • 再照合そのものは読取り専用である。ユーザーが反映を依頼した場合だけ、対象ノートを再読込みして SHA-256 を指定し、安全な更新操作を行う。

Read the full file on GitHub · 46 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. yesterday First seen · 46 lines · 66 tokens per session scan A c1689db9e1af

Subscribe to this mod's changes

project-notes-context is a skill published in the GitHub repository mitszo/agent-notes-mcp (0 stars, last pushed 8d ago), licensed MIT. It adds 66 tokens to every session and 1,584 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens