strata:export-to-repo

strata:export-to-repo is a skill for Claude Code from gideondk/strata. It costs 112 tokens per session (532 once invoked), scanned A, original, MPL-2.0.

A guarded way to copy a vault note, usually an architectural decision record (ADR), into the code repository. It checks the file for secrets and personal or health information before copying it.

In plain words
What is it for?
Use it to promote decisions into places such as docs/adr/ for code review, audit trails, or compliance work. It also prepares the git commands needed to record the change.
Why use it?
It moves important decisions into the repository's permanent, reviewable history while reducing the risk of exposing sensitive data. A dry run lets you inspect the proposed destination and checks first.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the strata plugin — 24 skills, 2 agents, 5 hooks, 1 MCP server shipped together

Good fit Use it to promote decisions into places such as docs/adr/ for code review, audit trails, or compliance work. It also prepares the git commands needed to record the change.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add gideondk/strata
Claude Code
/plugin install strata

Made for: Claude Code.

Or install strata, the plugin that ships this one along with the rest of its 24 skills, 2 agents, 5 hooks, 1 MCP server.

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 strata:export-to-repo

README.md
[![agentmods](https://agentmods.dev/badge/skills/gideondk/strata/export-to-repo/github.svg)](https://agentmods.dev/skills/gideondk/strata/export-to-repo)
Your own site
<a href="https://agentmods.dev/skills/gideondk/strata/export-to-repo"><img src="https://agentmods.dev/badge/skills/gideondk/strata/export-to-repo/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 strata:export-to-repo

Your own site · 80×15
<a href="https://agentmods.dev/skills/gideondk/strata/export-to-repo"><img src="https://agentmods.dev/badge/skills/gideondk/strata/export-to-repo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 532 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.00112 $0.00532
Opus 5 $0.00056 $0.00266
Sonnet 5 $0.00022 $0.00106
Haiku 4.5 $0.00011 $0.00053

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

Security

Grade A, and why

strata:export-to-repo 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.

skills/export-to-repo/SKILL.md · 49 lines

What it actually says

strata:export-to-repo

The vault is the working store. The repo is the audit anchor. Most decisions Live happily in the vault, fast capture, no PR overhead. But some need to Become part of the codebase's permanent record: regulatory ADRs, decisions Referenced by code, anything that should ship with the repo.

This skill copies one file from the vault into the repo, with a --strict Lint pass first, so PHI/secrets can't slip across the boundary unnoticed.

Workflow

User runs /strata:export-to-repo decisions/<slug>.md. You:

  1. Confirm the file path is right (use recall or /strata:find if unsure).
  2. Run with --dry-run first so the user sees the destination + lint:
"${CLAUDE_PLUGIN_ROOT}/bin/strata" export \
  --source decisions/2026-05-20-use-postgres.md \
  --preset secrets,pii \
  --dry-run
  1. If clean, re-run without --dry-run.
  2. The script prints the git add/git commit commands. You suggest them to the user; they confirm and run them.

Configuration

  • --source — required, vault-relative path
  • --dest — repo-relative directory (default docs/adr/)
  • --preset — lint presets (default secrets,pii; add phi-uk/phi-us for regulated content)
  • --dry-run — show what would happen, don't copy

What it intentionally doesn't do

  • Doesn't run git add / commit / push — those are user decisions.
  • Doesn't rewrite the file (frontmatter stays as-is).
  • Doesn't delete the vault copy. The vault keeps the source of truth; the repo gets a synchronised audit copy.
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. 10d ago First seen · 49 lines · 112 tokens per session scan A 93fcaabb4af3

Subscribe to this mod's changes

strata:export-to-repo is a skill published in the GitHub repository gideondk/strata (5 stars, last pushed today), licensed MPL-2.0. It adds 112 tokens to every session and 532 once invoked, about $0.0006 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

my-wiki

Manage local OKF-compatible Markdown My Wiki vaults with an AI agent. Use for capturing webpages, PDFs, Office documents, notes, images, folders, and ZIP bundles as References; maintaining Reference-to-Concept evidence links; searching or answering from a vault; checking or repairing vault health; switching among…

NimaChu/my-wiki · 78 tokens

kb

Set up, evolve, or operate a hraness/kb local-first Markdown knowledge base for coding-agent memory. Use when a user asks to design KB conventions or a recurring KB ritual; search or query a KB or Obsidian vault; load or recover repository context, plans, decisions, concepts, backlinks, semantic search, or Git…

hraness/kb · 155 tokens

shelve

Offload a closed conversation topic (or a whole imported dialog) to the memory shelf as a Markdown episode with a validated digest. Use when a topic is finished, when context grows heavy, before compaction, or when the user asks to shelve/archive part of the conversation. M0 prompt-only version — the agent does the…

ignatenkofi/memshelf-mcp · 79 tokens

mneme-search

Use when the user asks a factual question whose answer might live in the vault. Invokes mnemesearch. Production mnemesearch is FTS5 BM25. The experimental feature-hashed lexical-vector backend is not wired into MCP. KG enrichment is gated to summarize or timeline when full-profile graph state is active.

OnourImpram/mneme · 69 tokens

mneme-prime

Use when the user starts a new task that may have prior vault context worth surfacing. Invokes the mnemeprime MCP tool to build a token-budgeted preamble of recent sessions and topic matches.

OnourImpram/mneme · 46 tokens

memory-forest

Build, validate, index, and query a private local Memory Forest with provenance-aware layers, pointer-first search, and validated root-first retrieval. Use when creating a new forest, checking an existing forest's structure, building its local SQLite index, or retrieving bounded memory trails without exposing full…

hyungchulc/memory-forest · 65 tokens