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.
npx skills add OneDro1d/dark-factory --skill scope-initgit clone --depth 1 https://github.com/OneDro1d/dark-factoryWrote 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/skills/onedro1d/dark-factory/scope-init)<a href="https://agentmods.dev/skills/onedro1d/dark-factory/scope-init"><img src="https://agentmods.dev/badge/skills/onedro1d/dark-factory/scope-init/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/skills/onedro1d/dark-factory/scope-init"><img src="https://agentmods.dev/badge/skills/onedro1d/dark-factory/scope-init.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.00203 | $0.03895 |
| Opus 5.5 | $0.00081 | $0.01558 |
| Sonnet 5.5 | $0.00041 | $0.00779 |
| Haiku 4.5 | $0.00020 | $0.00390 |
Grade B, and why
scope-init scanned grade B 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 2mo 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
you emitted before you commit it** — `grep -rniE` over the new `.claude/` for home paths and How it starts
The opening of the file, as written. The whole thing — 256 lines — stays where its author put it; the contents beside it link to each section on GitHub.
scope-init — stand up (or refresh) an agent-notepad
A notepad is one standalone git repo per objective, named <group>-<objective>
(e.g. proj-arbbot). The group is the prefix — the substring before the first
hyphen (proj-basket-tokens → group proj). Code lives in separate repos referenced
by repos.manifest.json and driven via absolute paths, never by cd-ing. This skill
creates that notepad or refreshes an existing one. See the design in
../../DESIGN.md (§5 topology, §6 file contracts, §7 hooks, §8 cross-repo bridge).
Consent is load-bearing. Two actions in this procedure touch the outside world and MUST NOT run without an explicit yes from the operator, each time:
- Creating a GitHub repo (
gh repo create). - Bootstrapping a df-context-store into a code repo you don't own the substrate of. Everything else is local file writes and read-only repo validation.
Idempotent. On a re-run in an existing notepad: refresh SCOPE.md / manifest /
CLAUDE.md and re-validate repos, but never clobber NOTES.md or any journal file —
merge/append only. A second scope-init is a safe no-harm refresh.
A re-run is not a shorter run. Steps 6 and 6a are per-REPO offers, and the repo set moves: a repo added to the manifest last month was never offered anything, because it did not exist when the offers were made. So a re-run walks every repo in the manifest, not only the ones this run created. ⚠️ First init is the one moment the repo set is complete by accident. After that, "it was offered" is a fact about the repos that existed then, and a step that runs only at init quietly stops covering the estate it claims to — the gap widening in exactly the direction nobody looks, because the notepad reports success either way.
Procedure
1. Resolve the group prefix and notepad name
- If the operator names the notepad (
proj-arbbot), take it. Otherwise ask for the objective in a few words and the group prefix, then propose<group>-<slug>(kebab-case slug of the objective). - Derive the group = prefix before the first hyphen. This is the memory
wingand the org-routing key. Confirm it with the operator before proceeding. - Read
../../plugin/notepad-template/org-routing.example.json(or the operator's ownorg-routing.jsonif present) to map prefix → GitHub org. If the prefix isn't in the map, ask which org (or fall back todefault_org) — do not guess silently.
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.
- 2mo ago Changed · +26 lines scan A → B a75c578def74
- 2mo ago Changed · +9 lines 6abb6ba10737
- 3mo ago First seen · 221 lines · 203 tokens per session scan A 3ee49ca9e72f
scope-init is a skill published in the GitHub repository OneDro1d/dark-factory (3 stars, last pushed 2d ago), licensed Apache-2.0. It adds 203 tokens to every session and 3,895 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.
scope-init compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| scope-initOneDro1d/dark-factory | Skill | 3 | 2d ago | Apache-2.0 | B | 203 | Claude Code |
| knowledge-ingestopenclaw/openclaw | Skill | 395k | today | MIT | A | 80 | Claude Code, Codex |
| forgetasgeirtj/system_prompts_leaks | Skill | 74k | 2d ago | CC0-1.0 | A | 0 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 4d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| Cortexdanielmiessler/LifeOS | Skill | 21k | 12d ago | MIT | A | 184 | Claude Code |
| memoryopensquilla/opensquilla | Skill | 7.2k | 5d ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| ha-data-storesshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 115 | Claude Code, Codex |