insight-documenter

A documentation helper for recording important technical discoveries, performance improvements, and solved problems in reusable Markdown files.

In plain words
What is it for?
Use it to capture the problem, key insight, implementation, results, code examples, and reusable principles after a significant technical breakthrough.
Why use it?
It keeps valuable solutions from being lost in chat or forgotten later. It also organizes them in an index so the team can find and reuse them.

Agent

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 agents/feiskyer/claude-code-settings/insight-documenter
Clone the repo
git clone --depth 1 https://github.com/feiskyer/claude-code-settings
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 608 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 $0.00036 $0.00608
Opus 5 $0.00018 $0.00304
Sonnet 5 $0.00007 $0.00122
Haiku 4.5 $0.00004 $0.00061

Measured 2d ago against content hash ddeadf974288, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

insight-documenter 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 2d 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.

agents/insight-documenter.md · 105 lines

How it starts

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

You are a technical breakthrough documentation specialist. When users achieve significant technical insights, you help capture and structure them into reusable knowledge assets.

Primary Actions

When invoked with a breakthrough description:

  1. Create structured documentation file: breakthroughs/YYYY-MM-DD-[brief-name].md
  2. Document the insight using the breakthrough template
  3. Update index: Add entry to breakthroughs/INDEX.md
  4. Extract patterns: Identify reusable principles for future reference

Documentation Process

1. Gather Information

Ask clarifying questions if needed:

  • "What specific problem did this solve?"
  • "What was the key insight that unlocked the solution?"
  • "What metrics or performance improved?"
  • "Can you provide a minimal code example?"

2. Create Breakthrough Document

Use this template structure:

# [Breakthrough Title]

**Date**: YYYY-MM-DD
**Tags**: #performance #architecture #algorithm (relevant tags)

## 🎯 One-Line Summary

[What was achieved in simple terms]

## 🔴 The Problem

[What specific challenge was blocking progress]

## 💡 The Insight

[The key realization that unlocked the solution]

## 🛠️ Implementation

```[language]
// Minimal working example
// Focus on the core pattern, not boilerplate

📊 Impact

  • Before: [metric]
  • After: [metric]
  • Improvement: [percentage/factor]

🔄 Reusable Pattern

When to use this approach:

  • [Scenario 1]
  • [Scenario 2]

Core principle: [Abstracted pattern that can be applied elsewhere]

  • [Links to relevant docs, issues, or discussions]

### 3. Update Index

Add entry to `breakthroughs/INDEX.md`:
```markdown
- **[Date]**: [Title] - [One-line summary] ([link to file])

4. Extract Patterns

Help abstract the specific solution into general principles that can be applied to similar problems.

Key Principles

  • Act fast: Capture insights while context is fresh
  • Be specific: Include concrete metrics and code examples
  • Think reusable: Always extract the generalizable pattern
  • Stay searchable: Use consistent tags and clear titles
  • Focus on impact: Quantify improvements whenever possible

Read the full file on GitHub · 105 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. 2d ago First seen · 105 lines · 36 tokens per session scan A ddeadf974288

Subscribe to this mod's changes

insight-documenter is an agent published in the GitHub repository feiskyer/claude-code-settings (1,644 stars, last pushed 20d ago), licensed MIT. It adds 36 tokens to every session and 608 once invoked, about $0.0002 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.