philosophy

philosophy is a skill for Claude Code from sei-newbear/xp-harness. It costs 214 tokens per session (4,987 once invoked), scanned A, original, MIT.

A set of principles for an XP development process, where XP means Extreme Programming, a method built around short work cycles, tests, reviews, and clear completion checks.

In plain words
What is it for?
Use it when designing or changing an XP-based process, deciding how stories move from planning to autonomous implementation, and defining observable acceptance criteria.
Why use it?
It helps define which development-process rules belong in a shared workflow and which coding styles should remain project-specific.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

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/sei-newbear/xp-harness/philosophy
Any agent
npx skills add sei-newbear/xp-harness --skill philosophy
Clone the repo
git clone --depth 1 https://github.com/sei-newbear/xp-harness

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 philosophy

README.md
[![agentmods](https://agentmods.dev/badge/skills/sei-newbear/xp-harness/philosophy.svg)](https://agentmods.dev/skills/sei-newbear/xp-harness/philosophy)
Your own site
<a href="https://agentmods.dev/skills/sei-newbear/xp-harness/philosophy"><img src="https://agentmods.dev/badge/skills/sei-newbear/xp-harness/philosophy.svg" alt="Measured on agentmods" height="20"></a>
Per session 214 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,987 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.1 $0.00214 $0.04987
Opus 5 $0.00107 $0.02493
Sonnet 5 $0.00043 $0.00997
Haiku 4.5 $0.00021 $0.00499

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

Security

Grade A, and why

philosophy 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 6d 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/philosophy/SKILL.md · 144 lines

How it starts

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

xp-harness 思想と判断軸

xp-harness の中核思想と判断軸を集約した skill。新規 skill / agent を作るとき、既存 skill / agent を改修するとき、または harness そのものの設計判断 (新しいアイデアを取り込むか / 取り込まないか / 翻訳して取り込むか) を考えるときに、ここに書かれた思想と判断軸に立ち返る。

責務境界 (= 何を配り、何を配らないか) ★最初に問う

xp-harness は「XP の進め方の規律」に閉じる。名前がそのままスコープ宣言。

  • 配る (= harness の責務): XP の進め方の規律 (フェーズ駆動、TDD、outside-in、受け入れテストと観測可能な Done、ペアプロ的レビュー 等)
  • 配らない (= プロジェクト側の資産): 中身の流儀。コード規約・命名・コメント方針、テストの文体 (「テストは仕様書」等の BDD 寄りの作法)、特定 framework / ツールの作法 (Playwright の API、セレクタの選び方)。これらは consumer のプロジェクトが持つ資産で、harness は 探して従う入口 (= 探索型スキル) だけを配る

判断の型: 新しい要素を harness に「足す / 残す」か迷ったら、4 象限の前にまず 「それは XP の進め方の規律か、中身の流儀か」を名前に照らして問う。中身の流儀なら配布既定から外し、プロジェクト側に委ねる (= 探索型スキルが探し当てる先にする)。

失敗パターン (= 実際に起きた): 個別判断を「一般的な良し悪し」(充実させる方が価値が高い / 知見は残す方が良い) で組み立てると、harness に足す・残す方向へ流れて責務境界を超える。名前 (xp-harness) と各 skill の責務から演繹すれば「XP でない中身」は外せる。名前をラベルでなく 責務宣言 として読む。

最終形 (= 理想像、北極星)

xp-harness の最終形は、エージェント群と利用者で XP の開発チームを成すこと。

  • ストーリーが共同と自律の境界線: ストーリーを出すまで (方向性・分割・優先順位) は利用者と共同でやり、ストーリーが出たらチームが自律で回す (= 1 ストーリーの走り切りを 1 ループとして周回する)。自律で回るには機械で判定できる合否基準 (観測可能な Done・受け入れテスト) が要る — 合否基準のないループは収束しない。小さいストーリーと観測可能な Done という XP の本質は、回す主体が人間でもエージェントでも変わらず効く
  • 関与の深さは利用者が選ぶ: 難易度 (= 合否基準をまだ書けない度合い) × 規模 (= ループをいくつに割るか) のマトリックスは、関与の既定値を提案する材料であって規則ではない。難しいストーリーに利用者がドメインエキスパート / エンジニアとしてモブ的に入る選択も、任せる選択もできる (= 発注者と請負ではなく、持ち場を固定しないチーム)
  • プロダクトオーナー (= チームでの利用者の基本の役割) が握るのは方向性と、大きい・後戻りしにくい決定: 全作業がプロダクトオーナーを経由することは求めない。チームは方向性の枠内で仕事を自分で発見して完結してよい。これが放任と区別される成立条件は 2 つ — 方向性が成果物 (かんばん等) に宿ること、チームの動きが観測可能なこと
  • 影響度は独立の調整弁: 間違えたときの被害の大きさは、対話の深さではなく出口の門の厚さ (レビューの厚さ・検証の厳しさ・PR を通すか直接統合か) を決める
  • 位置づけ: ロードマップではなく指針で、理想像自体も固定ではなく変わりうる。固定なのは上位の目的 = XP の目的そのもの (= 名前が背負っているもの): 変化を抱擁すること — 変更のコストを低く保ち続けることで、学びと市場の変化をソフトウェアに反映し続け、ビジネス価値を出し続けられる状態を保つ (内部品質はその前提条件)。人間がプロダクトオーナーを担う構成はこの目的に対する今見えている範囲での判断で、将来エージェントがプロダクトオーナーを担い、人間の介在ポイントが無くなる可能性も排除しない。新しい要素の採否・改修判断で「この変更は最終形に近づくか — 境界の対話を濃くするか / ループの内側の自走を強くするか / 出口の門を適切に厚くするか」を問う基準として使う

議論の経緯とマトリックスの象限別の既定値は references/最終形の議論経緯.md を参照。

Read the full file on GitHub · 144 lines

Files

What ships with it

1 file 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. 6d ago First seen · 144 lines · 214 tokens per session scan A a1a1298425fb

Subscribe to this mod's changes

philosophy is a skill published in the GitHub repository sei-newbear/xp-harness (9 stars, last pushed 29d ago), licensed MIT. It adds 214 tokens to every session and 4,987 once invoked, about $0.0011 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

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 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-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