compabob: Agent for Claude Code

.claude/agents/first-principles.md

first-principles is an agent for Claude Code from chacosoldier/compabob. It costs 61 tokens per session (698 once invoked), scanned A, original, MIT.

A reasoning workflow for breaking difficult questions down to their basic facts and assumptions. It can also compare viewpoints, explore uncertain scenarios, and assess how likely conclusions are.

In plain words
What is it for?
Use it to analyze concepts from scratch, separate known facts from guesses, build scenario trees, assess uncertainty, or combine opposing views.
Why use it?
It helps when the right way to think about a problem is unclear or when common assumptions may be hiding important gaps.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is chacosoldier/compabob's own configuration. It tells Claude Code how to work on compabob itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything compabob configures →

Reuse

Borrowing it

Nothing to install: this file belongs to chacosoldier/compabob. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/chacosoldier/compabob/main/.claude/agents/first-principles.md
Clone the repo
git clone --depth 1 https://github.com/chacosoldier/compabob

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 first-principles

README.md
[![agentmods](https://agentmods.dev/badge/agents/chacosoldier/compabob/first-principles/github.svg)](https://agentmods.dev/agents/chacosoldier/compabob/first-principles)
Your own site
<a href="https://agentmods.dev/agents/chacosoldier/compabob/first-principles"><img src="https://agentmods.dev/badge/agents/chacosoldier/compabob/first-principles/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 first-principles

Your own site · 80×15
<a href="https://agentmods.dev/agents/chacosoldier/compabob/first-principles"><img src="https://agentmods.dev/badge/agents/chacosoldier/compabob/first-principles.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 698 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.00061 $0.00698
Opus 5.5 $0.00024 $0.00279
Sonnet 5.5 $0.00012 $0.00140
Haiku 4.5 $0.00006 $0.00070

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

Security

Grade A, and why

first-principles 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.

.claude/agents/first-principles.md · 53 lines

How it starts

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

First Principles

Purpose

A rigorous reasoning partner for problems where the right answer requires thinking about the framework, not just with one. It decomposes concepts to fundamentals, reasons under deep uncertainty, calibrates predictions, and synthesizes across opposing frames. Register: formal decision theory and epistemics, not self-help and not named philosophical traditions. Advice only.

Modes

Trigger Mode
"from first principles", "reason from scratch", "what do we actually know" DECOMPOSE
"what's the structure of this concept", "what does X really mean" CONCEPT
"calibrate this", "how likely is", "what's the Bayesian read" EPISTEMIC
"scenario tree", "what could happen", "under deep uncertainty" SCENARIO
"dialectic between", "synthesize these views" SYNTHESIS

DECOMPOSE

Strip the problem to what is actually known versus assumed versus unknown. Rebuild from the load-bearing facts. Flag where the common framing smuggles in an assumption that does not survive scrutiny.

CONCEPT

Take the concept apart: its necessary and sufficient conditions, its boundary cases, what it is commonly confused with. A good explanation is hard to vary; test the definition by trying to vary it.

EPISTEMIC

State a base rate before adjusting. Update explicitly: prior, evidence, posterior. Give a calibrated probability with a confidence interval, not a point estimate dressed as certainty. Name what evidence would most move the estimate.

SCENARIO

Build a small scenario tree: the few genuinely distinct futures, each with a rough probability and the early signal that distinguishes it. Separate the robust moves (good across scenarios) from the bets (good in one). Distinguish risk (known distribution) from deep uncertainty (unknown distribution).

SYNTHESIS

Steelman each position to its strongest form. Find the real crux: the specific question on which they disagree. Synthesize where the views are compatible; preserve the genuine tension where they are not.

Read the full file on GitHub · 53 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 1aad73d03aba
  2. 1mo ago First seen · 53 lines · 61 tokens per session scan A 7af583a52dd6

Subscribe to this mod's changes

first-principles is an agent published in the GitHub repository chacosoldier/compabob (34 stars, last pushed 5d ago), licensed MIT. It adds 61 tokens to every session and 698 once invoked, about $0.0002 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

Other agents, from other repositories

deep-research-patcher

Applies critic findings to a nav-deep-research draft as surgical Edit hunks and records a patch log. Tool-locked so it cannot regenerate the report. Spawned once at step 5 by the nav-deep-research skill.

qf-studio/navigator · 55 tokens

whitepaper-coherence

Analyse la cohérence globale d'un livre blanc (logique, contradictions, ruptures narratives, redondances). Utiliser pour auditer un whitepaper avant publication.

FlorianBruniaux/claude-code-ultimate-guide · 39 tokens

deep-research-fetcher

Fetches one disjoint batch of URLs into a nav-deep-research run as fenced source notes. Spawned in parallel waves by the nav-deep-research skill (step 2 sweep, step 4 gap-fetch). Never searches for new URLs on its own, never reads other fetchers' batches.

qf-studio/navigator · 69 tokens

stock-balance-sheet-reviewer

Specialist for US-stock balance-sheet health review — leverage (Net Debt/EBITDA), liquidity (current ratio, cash runway), goodwill concentration and impairment history, working capital trends (DSO, inventory days), off-balance-sheet items (commitments, contingencies), and pension underfunding. Use when assessing…

johnqtcg/awesome-skills · 94 tokens

stock-earnings-quality-reviewer

Specialist for US-stock earnings-quality review — cash flow vs net income drift, FCF trajectory, capex character, revenue quality (channel stuffing, deferred-revenue trend), gross margin level and trend, operating leverage, three-cost hygiene, and SaaS-specific metrics (NRR, GRR, CAC payback, Magic Number). Use when…

johnqtcg/awesome-skills · 105 tokens

go-security-reviewer

Go security vulnerability reviewer covering OWASP Top 10, injection (SQL/command/path traversal), auth/authz bypass, crypto misuse, secrets exposure, SSRF, and input validation. Use when Go code changes touch SQL queries, os/exec, HTTP handlers, TLS config, authentication middleware, file path operations, or hardcoded…

johnqtcg/awesome-skills · 89 tokens