file-back

file-back is a skill for Claude Code, Codex from tpierrain/kenjaku. It costs 139 tokens per session (2,487 once invoked), scanned A, original, Apache-2.0.

A workflow for turning a useful conversation into a lasting, linked note in a personal knowledge vault.

In plain words
What is it for?
Use it after reaching a decision, synthesising an answer, or capturing useful information about a person, meeting, or topic; it proposes the note first and writes it only after approval.
Why use it?
It prevents important conclusions from disappearing when a conversation ends and keeps saved notes consistent and easy to find.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/tpierrain/kenjaku/file-back
Any agent
npx skills add tpierrain/kenjaku --skill file-back
Clone the repo
git clone --depth 1 https://github.com/tpierrain/kenjaku

Made for: Claude Code, Codex.

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 file-back

README.md
[![agentmods](https://agentmods.dev/badge/skills/tpierrain/kenjaku/file-back.svg)](https://agentmods.dev/skills/tpierrain/kenjaku/file-back)
Your own site
<a href="https://agentmods.dev/skills/tpierrain/kenjaku/file-back"><img src="https://agentmods.dev/badge/skills/tpierrain/kenjaku/file-back.svg" alt="Measured on agentmods" height="20"></a>
Per session 139 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,487 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00139 $0.02487
Opus 5 $0.00069 $0.01243
Sonnet 5 $0.00028 $0.00497
Haiku 4.5 $0.00014 $0.00249

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

Security

Grade A, and why

file-back 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 5d 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.

engine-skills/file-back/SKILL.md · 142 lines

How it starts

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

file-back — file the good answer back ("don't let this evaporate")

A second brain that only ever captures raw input slowly rots: the hard-won synthesis of a good exchange evaporates when the session ends. This skill is the "answers filed back" half of the Karpathy LLM-Wiki compile discipline (see ADR 0033): when a conversation produced something worth keeping, offer to distil it into a durable, well-linked note — so next time the brain knows it.

Principle

One promise: turn a substantive answer into a durable, conformant note — proposed first, written only on yes.

  • The judgment is yours (and the user's): is this worth keeping? what type of note? where does it belong?
  • The write is deterministic (ADR 0009): the note's path, its frontmatter (type/created/ updated/tags) and its woven [[links]] are built by a tested helper, conformant by construction — so a filed-back note never shows up later in a /lint report.
  • The write is confirmed, never silent (the brain's write posture): propose, let the user say yes.

When to use it

After an exchange that produced durable value: a synthesised answer, a decision reached, a profile of a person that emerged, the notes of a meeting. Offer it; do not nag on every trivial turn. Good signals: the user says "keep this" / "garde ça", or you can feel the answer took real work and would be costly to reconstruct.

Procedure

1. Decide the shape (judgment)

Pick, from the vault taxonomy (see the constitution, §"Note format"):

  • type → one of topic, decision, person, meeting (the four durable, non-raw zones).
    • topic → a cross-cutting concept (topics/<slug>.md).
    • decision → a dated decision record (decisions/<date>-<slug>.md).
    • person → a person page (people/<firstname-lastname>.md).
    • meeting → dated meeting notes (meetings/<date>-<slug>.md).
  • title → a clear, human title (the builder slugifies it: kebab-case, no accents).
  • tags → at least one (required for conformance).
  • body → the distilled synthesis, in the user's language. Be concise and self-contained.
  • links → the existing notes this connects to, as [[people/jane-doe]], [[topics/rag]] paths. Prefer targets that already exist (run /lint if unsure) so you don't create dangling links.
  • distinguish (person only) → what tells this person apart from everyone the vault already knows by that first name: their role, their organisation, and the other cards by name. It becomes the card's homonymy block, under the title. Give it whenever the first name is not obviously unique — a card that does not say which Romain moves the ambiguity into the vault instead of resolving it, and the next resolution inherits it. See the identity discipline in sync-sources.
  • sources (required on every note, the builder refuses without it) → what this note was built from, as [{"tier":…,"ref":…}], one entry per source actually read:
    • verbatim → the raw thing itself: a transcript's own turns, the message as sent, the document.
    • conversation → this exchange, when the note distils what was worked out here and nothing external.
    • human-summary → someone's recap of something they attended or read.
    • ai-summary → a note-taker's synthesis (Gemini, Noota, Fathom, tl;dv, Otter, Fireflies, Read.ai…). The ref names the document, the section and the date, so the reading can be gone back to. A search-result snippet is not a source and is refused as such: open the document and declare the tier you actually read. When a document holds both a summary and the verbatim — a Meet export is exactly that, the AI notes first, the transcription below — the verbatim is the source; read it, and declare the summary too only if you leaned on it. The weakest declared tier is stamped as source_tier: in the frontmatter, so "which notes here rest on an AI synthesis?" stays a query rather than a re-read.
  • confidence (personrequired, the builder refuses without it) → what this card's identity actually rests on: {"level":"observed|probable|unverified","basis":"…"}. Same scale as the claim discipline, deliberately: observed = you read the full name at a source you can cite, probable = you resolved it from context, unverified = you could not confirm it. The basis says on what (the source, its date, the card it matched). It becomes the card's confidence block and a frontmatter field. Required rather than offered because a conformant card born of a guess is indistinguishable from one born of a signed source, and the vault reads both as truth forever.

Read the full file on GitHub · 142 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. 5d ago First seen · 142 lines · 139 tokens per session scan A d902ed8cc319

Subscribe to this mod's changes

file-back is a skill published in the GitHub repository tpierrain/kenjaku (80 stars, last pushed today), licensed Apache-2.0. It adds 139 tokens to every session and 2,487 once invoked, about $0.0007 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.

Related

Other skills, from other repositories

refresh-context

Re-snapshot Core Context.md from the 9 mothership system files and key essays when the mothership changes or the snapshot is older than 30 days; also responds to /refresh-context and 코어 컨텍스트 갱신.

johnfkoo951/cmds-llm-wiki · 51 tokens

obsidian-bases

Explain, draft, and validate Obsidian Bases .base files with filters, formulas, properties, summaries, and table, card, or list views. Use for Obsidian Bases, database-like vault views, dynamic tables, reading lists, task trackers, filters, formulas, summaries, and .base file edits.

AgriciDaniel/claude-obsidian · 69 tokens

wiki-fold

Create a bounded, extractive, structurally idempotent rollup of recent Obsidian wiki log entries, with dry-run preview by default and one optional transaction apply. Use for manual log compression without modifying child pages. Triggers: fold the log, run a fold, run wiki-fold, log rollup, roll up log entries, commit…

AgriciDaniel/claude-obsidian · 76 tokens

wiki-retrieve

Build and query a vault-local contextual BM25 retrieval index with optional multilingual Nomic cosine reranking; use for retrieve, hybrid retrieval, BM25, rerank, contextual retrieval, chunk search, vault search, semantic search, find relevant passages, or retrieval diagnostics. Derived caches stay under .vault-meta…

AgriciDaniel/claude-obsidian · 81 tokens

wiki-mode

Read or configure the vault filing methodology and suggest destinations for planned knowledge creation under Generic, LYT, PARA, or Zettelkasten. Use for wiki mode, methodology mode, what is my vault mode, set vault mode, switch to PARA, use LYT, Zettelkasten setup, change mode, configure mode, or methodology routing.…

AgriciDaniel/claude-obsidian · 83 tokens

yopedia

Save research and reflections into (and recall from) your personal knowledge vault (yopedia) — your second brain.

yologdev/yoyo-evolve · 25 tokens