Borrowing it
Nothing to install: this file belongs to Senpi-ai/senpi-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Senpi-ai/senpi-skills/main/CLAUDE.mdgit clone --depth 1 https://github.com/Senpi-ai/senpi-skillsWrote 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.
[](https://agentmods.dev/instructions/senpi-ai/senpi-skills/claude-md)<a href="https://agentmods.dev/instructions/senpi-ai/senpi-skills/claude-md"><img src="https://agentmods.dev/badge/instructions/senpi-ai/senpi-skills/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.
<a href="https://agentmods.dev/instructions/senpi-ai/senpi-skills/claude-md"><img src="https://agentmods.dev/badge/instructions/senpi-ai/senpi-skills/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.03216 | $0.03216 |
| Opus 5 | $0.01608 | $0.01608 |
| Sonnet 5 | $0.00643 | $0.00643 |
| Haiku 4.5 | $0.00322 | $0.00322 |
Grade A, and why
senpi-skills CLAUDE.md 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Senpi Skills — Repo Conventions for AI Editors
This repo is almost entirely AI-generated. The rules below exist because they have been forgotten or stripped during past rewrites. Preserve them on every edit.
▶▶ Architecture — strategies are PACKAGES, not skills
A trading strategy is a deployable package, not an agent skill. All packages live under
strategies/:
strategies/<id>/ # a strategy package (e.g. strategies/spider/)
strategy.yaml # THIN deploy manifest & single source of truth for
# id, version, catalog facets, instances[] — tunables do
# NOT live here (no `params`; that design is retired)
<instance>/ # one dir per instance (`main`, or e.g. `swing`/`scalp`)
runtime.yaml # the self-contained runtime spec for this instance —
# scanners+inputs (the tunables), actions, exit (DSL), risk
scanners/
scan.py # exports scan(inputs, ctx) -> list[dict]; read-only, pure,
# single-pass; the runtime spawns + supervises it
scoring.py # optional pure math (no I/O) so the edge unit-tests
- A strategy package has no
SKILL.mdand no attribution file.strategy.yamlis the single source of truth forid/version. - Skills are the agent's lifecycle capability:
senpi-strategy-discover(find/recommend),senpi-strategy-author(build/edit),senpi-strategy-ops(install/monitor/close).senpi-trading-runtimeis the infra-contract skill — how@senpi-ai/runtimebehaves (scan(inputs, ctx), runtime.yaml schema, DSL engine,openclaw senpi …CLI). The remaining skills (portfolio, improve-trades, market-pulse, smart-money, trader-research, account-status, deposit-withdraw-transfer, why) are analysis/guidance utilities. - Install/teardown is
senpi-strategy-ops, always:deploy.py create <id> --budget <usd>starts the runtime's detachedopenclaw senpi deployjob — reconcile → funds preflight → one named wallet per instance viastrategy_create_custom_strategy(budget split byfunding_share, min $10/wallet) → install → one observed scanner tick — then pollsopenclaw senpi deploy statusuntil it is terminal and relays that report verbatim.deploy.py create|runtime <id>drive the same idempotent verb: re-running either resumes and adopts whatever exists, so they are not separate steps.deploy.py verify <id>is NOT one of them — it is the read-only check (strategy_list+runtime list+senpi status --json, quoting what it read; exits0verified /3not verified /1could-not-check) and it never starts a deploy, funds a wallet, installs a runtime or fetches a package (it resolves on disk only — downloading and writing one is a side effect too). It NAMES the resume when one is needed — but only for a wallet the backend reads asACTIVE, and only when no deploy job for that package is already running; the resume itself is alwayscreate/runtime. Install is the verb's own in-process step — never hand-runopenclaw senpi runtime create(it skips the funds preflight, the attribution and the verified tick). Teardown isclose.py <id>(or--all) — never a rawstrategy_close(it strands the runtime). Attribution is automatic: the deploy path stampsskillName/skillVersionfromstrategy.yamlid/versionon every wallet-creation call. strategies/catalog.jsonis GENERATED fromstrategies/*/strategy.yamlviasenpi-trading-runtime/scripts/gen_catalog.py— never hand-edit it. It is written to two places: repostrategies/catalog.json(source of truth) ANDsenpi-strategy-discover/catalog.json(bundled so the catalog travels with the discover skill when installed standalone). Keep both in sync by re-runninggen_catalog.py.- Validate a package with
senpi-strategy-author/scripts/validate_strategy.py <dir>andsenpi-strategy-ops/scripts/validate_universe.py <dir>(every hardcoded ticker the strategy TRADES must be a live HL instrument — a dead name silently no-trades; an exclusion list (excludeAssets,deny*/skip*) is exempt on both sides, since it names what is NOT traded). The universe gate lives in the RUNTIME verb:openclaw senpi deployrefuses[E_UNIVERSE_NOT_LIVE]pre-money (fail-closed when the live list is unreadable) anddeploy.pyonly relays that refusal.validate_universe.pystays the standalone read-only check, anddeploy.py validate <id>reports it from the same predicates.
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.
- 10d ago First seen · 196 lines · 3,216 tokens per session scan A 0525de07ee35
senpi-skills CLAUDE.md is an instructions file published in the GitHub repository Senpi-ai/senpi-skills (122 stars, last pushed today), licensed MIT. It adds 3,216 tokens to every session, about $0.0161 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-30.
Other instructions, from other repositories
vibetags com-example-service-EvidenceBasedShowcase.instructions.md
Instructions for PIsberg/vibetags, covering copilot instructions for evidencebasedshowcase, generated — edit the source, rules for field settledorderids, rules for method totalwithtax and rules for method refreshcartbadge.
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.
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.
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).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
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).