solo-factory: Instructions file for Claude Code

CLAUDE.md

solo-factory CLAUDE.md is an instructions file for Claude Code from fortunto2/solo-factory. It costs 2,748 tokens per session, scanned A, original, MIT.

A set of Claude Code instructions for the solo-factory project, describing its files, orchestration commands, rules, and Makefile commands.

In plain words
What is it for?
Use it when working on fortunto2/solo-factory and needing to follow its project layout, rules, or command conventions.
Why use it?
It gives Claude Code project-specific guidance so its work follows the repository's structure and available commands.

Instructions file for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is fortunto2/solo-factory's own configuration. It tells Claude Code how to work on solo-factory 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 solo-factory configures →

Runs only inside a plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else, and the catalogue could not identify which plugin ships it.

Reuse

Borrowing it

Nothing to install: this file belongs to fortunto2/solo-factory. 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/fortunto2/solo-factory/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/fortunto2/solo-factory

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 solo-factory CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/fortunto2/solo-factory/claude-md/github.svg)](https://agentmods.dev/instructions/fortunto2/solo-factory/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/fortunto2/solo-factory/claude-md"><img src="https://agentmods.dev/badge/instructions/fortunto2/solo-factory/claude-md/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 solo-factory CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/fortunto2/solo-factory/claude-md"><img src="https://agentmods.dev/badge/instructions/fortunto2/solo-factory/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,748 This file is loaded in full into every session.
When invoked 2,748 The same file — it is already loaded in full.
Security scan A 1 finding. 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.02748 $0.02748
Opus 5 $0.01374 $0.01374
Sonnet 5 $0.00550 $0.00550
Haiku 4.5 $0.00275 $0.00275

Measured today against content hash 9272700d467f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

solo-factory CLAUDE.md scanned grade A with 1 finding 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 today.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

accepts (`Python-urllib` is banned outright).
CLAUDE.md · 224 lines

How it starts

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

CLAUDE.md — solo-factory

Claude Code plugin for solopreneurs. Single source of truth for all skills, agents, hooks, and templates.

Structure

.claude-plugin/plugin.json  # Manifest (name, version)
commands/                    # Orchestrator commands (Command → Agent → Skill pattern)
skills/                     # 39 skills (SKILL.md + references/)
agents/                     # 3 agents (researcher, code-analyst, idea-validator)
hooks/                      # SessionStart (info + drift) · PostToolUse (syntax sensor) · Stop (verify gate + pipeline)
rules/                      # User-level rules (symlinked to ~/.claude/rules/ via make plugin-link)
scripts/                    # Pipeline launchers (bighead, solo-dev.sh, solo-research.sh, solo-codex.sh)
templates/                  # Stack templates, dev principles, PRD templates
Makefile                    # plugin-link, plugin-publish, evolve, evolve-apply, factory-critique
solo → .claude-plugin/      # Symlink for plugin cache compatibility

Orchestrator Commands (commands/)

Commands are entry-point orchestrators following Command → Agent → Skill pattern:

Command Flow Purpose
/dev researcher → /plan → /build → /review End-to-end feature development
/investigate code-analyst → reproduce → fix → /review Bug investigation and fix

Commands coordinate agents and skills — they don't do work themselves.

Rules (.claude/rules/)

Rule Scope Purpose
ai-comments.md All files AI-NOTE/TODO/ASK/PATTERN comment conventions
debugging.md All files Background task debugging, browser MCP for logs
routing.md All files Agent & skill routing table (task signals → route)
harness-sensors.md All files What the sensors measure, their published promises, and the noise budget

Makefile Commands

make plugin-link           # Symlink cache → solo-factory (dev mode, instant updates)
make plugin-publish        # Push + reinstall Claude Code plugin globally
make clawhub-publish S=x   # Publish one skill to ClawHub (S=skill-name)
make clawhub-publish-all   # Publish all skills to ClawHub (slow, 3s/skill)
make publish-all           # All registries at once (Claude Code + ClawHub)
make verify                # Verify changed files (fast: syntax + lint)
make verify-full           # Verify changed files (full: + types + tests)
make test-sensors          # Sensor acceptance tests only
make test                  # Run all tests (BATS + trigger validation)
make test-bats             # BATS tests only
make test-triggers         # Skill trigger validation
make hooks                 # Install pre-commit hooks
make evolve                # Show evolution log (factory defects)
make evolve-apply          # Apply evolution fixes (interactive)
make factory-critique P=x  # Run Codex factory critique on a project
make help                  # Show all commands

Read the full file on GitHub · 224 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. today Changed · +22 lines · +237 tokens per session 9272700d467f
  2. yesterday Changed · +37 lines · +508 tokens per session fd210b46dc7b
  3. 9d ago First seen · 165 lines · 2,003 tokens per session scan A aaad2f858ca6

Subscribe to this mod's changes

solo-factory CLAUDE.md is an instructions file published in the GitHub repository fortunto2/solo-factory (18 stars, last pushed today), licensed MIT. It adds 2,748 tokens to every session, about $0.0137 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,737 tokens