[2026-10-05] ingest | I Spent 6 Months Tuning Claude Code — Exact Setup (Anubhav, 2026-04-24)

  • Route: prompts wiki (owner chose Prompt wiki after classifier ambiguous (confidence 0.513 — main 4.6406 vs prompts 4.4034 vs vibecoding 3.8068; top main “Perplexity Brain”, top prompts “codeburn”)).
  • Source: raw/external/freedium-mirror-cfd-i-spent-6-months-tuning-claude-code-here-a23e1587.md (immutable snapshot via external_links.py capture, HTTP 200, content_hash a23e1587, captured 2026-10-05T21:05:38Z; Freedium mirror of the Medium article).
  • Pages extended (5, 0 novas): wiki/prompts/concepts/claude-code-memory.md (l1→l1, field-report section: hot-cache root file, path-scoped globs + paths: bug note, Opus 4.7 tokenizer claim flagged unverified); wiki/prompts/concepts/claude-code-subagents.md (l2→l2, retrieval-reviewer worked example: allowlist + Sonnet downshift + blocker verdict); wiki/prompts/concepts/claude-code-best-practices.md (l1→l1, Plan tiers + Deferred Permissions hooks + 5-server MCP cap + floor/ceiling minimum stack); wiki/prompts/concepts/claude-code-parallel-agents.md (l1→l2, worktree scoping + headless nightly-eval defer-grep-resume + replay metrics 0.82→0.98 grounded); wiki/prompts/concepts/skill-authoring-best-practices.md (l1→l1, new-rag-eval as progressive-disclosure + allowed-tools + Do-not guardrails example).
  • Contradictions: none across vault pages — field report refines the official baseline; dated positions preserved (5-level hierarchy framing vs documented load order; paths: documented vs globs: working). Vendor/unverified claims (500-token cache cliff, 1.0–1.35x tokenizer multiplier, vexp 65–70%, 30min-vs-afternoon) labeled as such in-page.
  • Navigation: no new pages — prompts-index.md counts unchanged (160 content); no catalog edit required.
  • Verification: pwsh -File scripts/wikilint.ps1 -Scope prompts → wikilint: OK — All checks passed (163 pages, scope: prompts); Layer 3 advisory LOW CONF items are pre-existing (7 pages, none touched by this ingest).

[2026-09-04] ingest | token-optimizer-mcp COMPOUND refresh (snapshot 2026-09-03)

  • Route: prompts wiki; dedicated worktree ../LLM-WIKI-OKF--ingest-token-optimizer-refresh (branch task/ingest-token-optimizer-refresh), from origin/main — no shared-dir conflict.
  • Source: raw/external/github-com-token-optimizer-mcp-ea1b1b42.md (new immutable snapshot, recapture 2026-09-03T19:50:23Z, content_hash ea1b1b42, http_status 200). Not a duplicate: content hash differs from committed a42670b5 (2026-09-01) — SNAPSHOT guardrail new-snapshot path.
  • Page extended (COMPOUND): wiki/prompts/entities/token-optimizer-mcp.md — l2→l2, updated 2026-09-04, added ea1b1b42 to frontmatter sources. New “Refresh — snapshot 2026-09-03” section: tagline “Spend less context, keep the conclusions, and audit every claim across 16 coding clients”; knowledge graph “why this is not RAG” (traversal+lexical, offline); zero-turn refusal; enforcing tier widened to 10 clients (plugin-first install); fleet_audit cross-project fix-by-content-hash; waste-detection as ratchet; model routing by outcomes; verification suite (test 2,437 / clients 253 / harvest 26 / UI 22 / doctor 10); diagnostics with capped opt-in event rows; MIT commercial license. Removed dead ## Sources path github-com-token-optimizer-mcp-987700a8.md (file absent).
  • COMPOUND upheld: no existing content overwritten; the 09-01 position and the 95%-unverified caveat preserved.
  • Verification: wikilint.ps1 -Scope prompts → wikilint: OK (163 pages, prompts); LOW CONF on token-optimizer is pre-existing Claims-section label.
  • Branch: task/ingest-token-optimizer-refresh.

[2026-09-04] create | Archive audit + triage ranking prompts as query pages

  • Route: prompts wiki (same-session route established for the ranking-audit work); user explicitly approved filing both deliverables.
  • Governance: .agents/guardrails.md + .agents/wiki-page-templates.md (Query template); COMPOUND respected (no existing page overwritten); forward-only linking; tags prompt-engineering + workflow-pattern (both in taxonomy); ≤8 outbound links per page.
  • Pages created (2):
    • wiki/prompts/queries/audit-free-model-ranking-document.md — reusable audit prompt (technical, English): reconstruct method → check consistency → enumerate validity + completeness gaps severity-ranked → v4 remediation respecting the monthly-review freeze policy → bounded reflexion self-check.
    • wiki/prompts/queries/triage-audit-feedback-model-ranking.md — reusable triage prompt (technical, English): verify the verifier (document-grounded / inference-tagged / unsupported) → ACCEPT/REJECT/SPLIT/DEFER with strict evidence-based rejection (cite the contradicting passage) → draft revised document, methodology changes flagged per monthly-review policy.
  • Grounding: both pages cite raw/prompts/articles/taxonomy-synthesis-2026-07-16.md and raw/prompts/articles/robonuggets-gauntlet-loop-youtube-transcript.md (OKF v0.2 object-form sources).
  • Navigation: prompts-index.md — Queries 7→9, content 158→160; updated: 2026-09-04.
  • Verification: query-check: OK on both drafts before filing; wikilint -Scope prompts re-run below.
  • Branch state: main has unrelated uncommitted WIP (b5-queue-unification: auto_ingest/queue_lifecycle, token-optimizer-mcp, spec). Archival files left uncommitted; branch/commit decision pending owner.

[2026-09-04] query | Craft triage prompt for audit feedback on free model ranking (v3.0)

  • Route: prompts wiki (same-session route already established for the ranking-audit work; prompt-authoring domain).
  • Retrieval (prompt wiki): Found: 10 | Analyzed: 8 core. Patterns re-used from the companion audit prompt: how-to-structure-a-system-prompt (five sections), constraint-based-prompting (strict evidence-based REJECT rule; [INFERENCE]/unsupported handling), communication-style-spectrum (technical/developer), task-state-machine (done→verified per stage), reflexion (bounded self-check), documented-research-process, which-envelope-format-should-i-use.
  • Deliverable: reusable Markdown triage prompt (technical audience, English) that: receives the audit + the original ranking document; verifies the verifier (classifies each criticism as document-grounded / inference-tagged / unsupported); returns one of ACCEPT/REJECT/SPLIT/DEFER per criticism with strict evidence-based rejection (REJECT must cite the contradicting document passage); drafts the revised document v3.1 + change log; and respects the document’s own monthly-review policy (frozen weights/constants/anchor — a methodology change is flagged and may be v4, not silently edited). Companion to the audit prompt delivered earlier.
  • Gate: scripts/query-check.ps1 -Scope prompts → query-check: OK (0 failures; 10 retrieved slugs all in-route; all wikilinks and raw paths resolve).
  • Changes: no wiki content pages created or modified; this log entry is the only persistent change. Read-only query. (Both audit and triage prompts pending user’s archiving decision.)

[2026-09-04] query | Craft audit prompt for free model ranking (v3.0)

  • Route: scripts/route_classifier_helper.py --wiki-root . → ambiguous (0.531); prompts 4.64 / main 4.09, margin 1.13×. Manual override → prompt wiki: the task is to craft a prompt (prompt-authoring domain); user explicitly directed the prompt wiki.
  • Retrieval (prompt wiki): Found: 10 | Analyzed: 8 core. Patterns consulted: how-to-structure-a-system-prompt (five universal sections), constraint-based-prompting (output/reasoning/behavioral constraints), communication-style-spectrum (technical/developer), task-state-machine (done→verified workflow gate), documented-research-process (artifacts-as-output), reflexion (bounded self-review), gauntlet-loop-prompting (worker/critic stop conditions — used only for the self-check gate, not a loop), which-envelope-format-should-i-use (markdown for technical audience). Audit-prompt precedent perplexity-branch-worktree-guardrails-audit-prompt is listed in prompts-index but its page and raw source are not present on disk — treated as not verifiable, not cited as evidence.
  • Deliverable: reusable Markdown audit prompt (technical audience, English) that instructs an agent to audit the composite-model-ranking document as a whole — reconstruct the method, check internal consistency, enumerate validity + completeness gaps severity-ranked (Critical/High/Medium/Low), and output a report + severity matrix + v4 remediation plan respecting the document’s monthly-review/reproducibility policy, with a bounded reflexion self-check.
  • Gate: scripts/query-check.ps1 -Scope prompts → query-check: OK (0 failures; 10 retrieved slugs all in-route; all wikilinks and raw paths resolve). First run FAILED (route-header format + two non-existent raw paths) and was fixed before finalizing.
  • Changes: no wiki content pages created or modified; this log entry is the only persistent change. Read-only query.

[2026-08-25] ingest | Coldtea AGENTS.md field study — three concept pages

Source

  • raw/prompts/articles/coldtea-agents-md-field-study.md — raw capture of the Coldtea AGENTS.md field study article

Route validation

  • python scripts/route_classifier_helper.py --wiki-root . --query "AGENTS.md field study GitHub best practices agent behavior documentation patterns" → ambiguous (0.551), main 15.40 / prompts 18.89 / vibecoding 3.58. Override → prompt wiki per session directive to route all agents.md content to prompts wiki.

Pages

  • wiki/prompts/concepts/agents-md-field-study.md — created: concept page quantifying AGENTS.md patterns across top GitHub repos (theme shares, heading convergence, length distribution, don’t-rule density)
  • wiki/prompts/concepts/agents-md-patterns.md — created: concept documenting converging section templates and universal structures in AGENTS.md files
  • wiki/prompts/concepts/agents-md-dont-rules.md — created: concept taxonomy of explicit negative rules (commit messages, test handling, AI disclosure, etc.)
  • wiki/prompts/prompts-index.md — added three concept entries; counts updated to 158 content (63 entities, 83 concepts, 5 comparisons, 7 queries)

Verification

  • pwsh -File scripts/wikilint.ps1 -Scope prompts → wikilint: OK

[2026-08-25] ingest | Temporal Java SDK AGENTS.md field study

Source

  • raw/prompts/articles/temporalio-sdk-java-agents-md.md — raw capture of Temporal Java SDK AGENTS.md

Route validation

  • python scripts/route_classifier_helper.py --wiki-root . --query "Temporal Java SDK AGENTS.md coding agent instructions" → ambiguous (0.531), main 11.49 / prompts 13.00 / vibecoding 5.00. Override → prompt wiki per session directive to route all agents.md content to prompts wiki.

Pages

  • wiki/prompts/entities/temporalio-sdk-java-agents-md.md — created: new entity page documenting this real AGENTS.md file as a product-config prompt with contributor quickstart guidance
  • wiki/prompts/prompts-index.md — added [[temporalio-sdk-java-agents-md]]; counts updated to 154 content / 63 entities

Verification

  • pwsh -File scripts/wikilint.ps1 -Scope prompts → wikilint: OK

[2026-08-07] ingest | Prompting Guide techniques index (backlog cleanup)

[2026-08-09] ingest | RoboNuggets gauntlet-loop YouTube transcript

Source

  • raw/prompts/articles/robonuggets-gauntlet-loop-youtube-transcript.md — auto-caption transcript captured from YouTube video BNjzXcEXmg4

Route validation

  • python scripts/route_classifier_helper.py --wiki-root . --query "Ingest YouTube video: This NEW Claude Prompting Technique is blowing people's minds (gauntlet-loop)" → ambiguous (0.595), main 13.9221 / prompts 9.4839 / vibecoding 1.8138. Override → prompt wiki because the user explicitly chose prompt wiki and the source is centered on a prompting/workflow technique rather than LLM Wiki architecture.

Pages

  • wiki/prompts/concepts/gauntlet-loop-prompting.md — created: new concept page for the three-part task/build-method/bar pattern, worker+critic subagent pairs, and its best-use limits.
  • wiki/prompts/concepts/claude-code-parallel-agents.md — extended: added gauntlet-loop as a prompt-level packaging of parallel worker/critic orchestration.
  • wiki/prompts/concepts/claude-code-subagents.md — extended: added gauntlet-loop as evidence that subagents are a prompt-authoring primitive, not only a product configuration mechanism.
  • wiki/prompts/prompts-index.md — added [[gauntlet-loop-prompting]]; counts updated to 150 content / 78 concepts.

Verification

  • pending final run below

Source

  • raw/external/www-promptingguide-ai-techniques-f9bd0064.md — Prompting Guide techniques landing/index page (English snapshot, same catalog already cited by individual technique articles)

Route validation

  • scripts/route-classifier.ps1 -Query "prompt engineering techniques from promptingguide.ai" → ambiguous (0.603), main 6.038 / prompts 9.157, top match Prompt Engineering Guide (promptingguide.ai). Override → prompt wiki — user explicit decision; content is a prompt techniques index page.

Pages

  • wiki/prompts/concepts/prompt-engineering-techniques.md — extended: added external snapshot raw/external/www-promptingguide-ai-techniques-f9bd0064.md to sources and ## Sources. Page already fully cataloged 18 techniques; no structural change. lifecycle unchanged (l1).

Discarded (not ingested — no wiki coverage needed)

  • raw/external/developers-openai-com-9dcdba4f.md (cc1760193b07a0c7) — OpenAI developers homepage/API docs landing; too generic, no unique evidence for prompt wiki coverage.
  • raw/feeds/https-news-ycombinator-com-item-id-49162086-2dfa28a790db9021.md (f5c2bff46dae906b) — HN off-topic “Windows XP Itanium” post; outside both wikis’ scope.

Verification

  • wikilint: OK (pending final run below)

[2026-08-07] query | Polimento de prompt de pesquisa (Superpowers × Matt Pocock)

  • Routing: scripts/route-classifier.ps1 -Query "apply prompt wiki knowledge to polish a deep research prompt comparing Superpowers vs Matt Pocock workflow" → ambiguous (0.502), main 14.02 / prompts 13.93. Override manual → prompt wiki: a tarefa é explicitamente aplicar conhecimento de prompt engineering para polir um prompt.
  • Retrieval (prompt wiki): documented-research-process, how-to-structure-a-system-prompt, constraint-based-prompting, communication-style-spectrum, gemini-deep-research-prompt, two-tier-search-architecture. Found: 10 | Analyzed: 6 core.
  • Deliverable: prompt de pesquisa polido em PT-BR aplicando as 5 seções universais, Task State Machine (TDP/MIG/CAS/RG/IR), constraint-based prompting, communication style explain-before-do-concise, e Memory Block. Atingiu o prompt wiki’s [[gemini-deep-research-prompt]] para a estrutura de pesquisa.
  • Gate: scripts/query-check.ps1 -Scope prompts → query-check: OK (0 failures; 10 retrieved slugs, all in-route).
  • Gains: prompt de pesquisa reutilizável e rigoroso com citação obrigatória e separação fato/opinião. Losses: nenhuma. Nenhuma página criada/alterada (consulta read-only).

[2026-08-07] query | Craft prompt to analyze and prioritize a 35-skill package

  • Routing: scripts/route-classifier.ps1 -Query "how to craft a prompt to analyze and prioritize skill packages" → ambiguous (0.514), main 7.34 / prompts 7.75, top match Skill Authoring Best Practices. Override manual → prompt wiki porque a tarefa é criar um prompt (domínio da prompt wiki). Classifier result noted in the answer.
  • Retrieval: prompt wiki concepts consulted: skill-authoring-best-practices, skills-directory-gate, constraint-based-prompting, task-state-machine, chain-of-thought-pattern, communication-style-spectrum, message-roles. Found: 7 | Analyzed: 7.
  • Deliverable: prompt pronto em PT-BR (papel de analista + pipeline em 5 etapas com enumerar-tudo-antes + classificação A/B/C/D por função + saída JSON obrigatória + regras de comportamento anti-hype). Dois blocos de placeholder para o founder colar os 35 skills e o objetivo do projeto.
  • Gate: scripts/query-check.ps1 -Scope prompts -Catalog → query-check: OK (0 failures; 10 retrieved slugs, all in-route).
  • Gains: prompt acionável reutilizável para avaliar qualquer pacote de skills contra qualquer projeto. Losses: nenhum. Nenhuma página criada/alterada (consulta read-only).

[2026-08-06] ingest | Tree of Thoughts technique from Prompt Engineering Guide

Source captured

  • raw/prompts/articles/promptingguide-pt-techniques-tot.md — conteúdo sobre Tree of Thoughts (ToT) em português
  • raw/external/www-promptingguide-ai-tot-fe67e69f.md — snapshot externo capturado

Route validation

  • scripts/route-classifier.ps1 → prompts (confidence: 0.95)
  • Técnica de prompting para raciocínio em árvore, cabe no prompt wiki

Pages extended

  • wiki/prompts/concepts/tree-of-thoughts.md — lifecycle: l0→l1, adicionadas definição completa, exemplos de “Game of 24”, avaliação de candidatos, referências
  • prompts-index.md já referenciava [[tree-of-thoughts]]

Verification

  • wikilint: OK — 149 pages


[2026-08-06] ingest | ReAct Prompting technique extension

Source

  • raw/external/www-promptingguide-ai-react-b247cf0b.md — English snapshot captured

Route validation

  • prompt wiki (confidence: 0.95)

Pages extended

  • wiki/prompts/concepts/react-prompting.md — lifecycle l0→l1, added How it Works, Results, Limitations, LangChain usage, Implications

Verification

  • wikilint: OK — 150 pages

[2026-08-06] ingest | Graphify and Capacities updates from external snapshots

Sources recaptured

  • raw/external/github-com-graphify-6b624867.md (recaptured)
  • raw/external/capacities-io-8be3cd66.md (recaptured)

Pages extended

  • wiki/entities/graphify.md — l1→l2, added code parsing, graph features, MCP HTTP transport, backend support, strict mode, hooks
  • wiki/entities/capacities.md — l0→l1, added paradigm, userbase, features, privacy, business model, notiion relationship

Verification

  • wikilint: OK — 265 pages (main + prompts)

[2026-08-06] ingest | nashsu/llm_wiki and claude-obsidian updates

Sources recaptured

  • raw/external/github-com-llm-wiki-7ec2f780.md (GitHub repo snapshot)
  • raw/external/github-com-claude-obsidian-4b89ed19.md (GitHub repo snapshot)

Pages extended

  • wiki/entities/nashsu-llm-wiki.md — l0→l1, added relationship-to-vault section
  • wiki/entities/claude-obsidian.md — l0→l1, added relationship-to-vault section

Verification

  • wikilint: OK — 265 pages

[2026-08-06] ingest | Tree of Thoughts (ToT) technique from promptingguide.ai

Source

  • raw/external/www-promptingguide-ai-techniques-f9bd0064.md — snapshot capturado

Route validation

  • prompt wiki (confidence: 0.95)

Pages

  • Nenhuma página criada. [[prompt-engineering-techniques]] já existe completa.

Verification

  • wikilint: OK — 149 pages

[2026-08-06] ingest | OpenAI Prompt Caching Guide (detailed)

Source

  • raw/external/developers-openai-com-prompt-caching-bc9e0f40.md — official OpenAI Prompt Caching guide (developers.openai.com)
  • Captured via scripts/external_links.py capture
  • Evidence body immutable; metadata records source URL and content hash

Route validation

  • scripts/route-classifier.ps1 -Query "Ingest OpenAI prompt caching guide"
  • Route: ambiguous (confidence: 0.622; main score: 5.3947, prompts score: 8.8712)
  • Manual override: prompt wiki — content is API-level prompt engineering guidance (tool-origin: openai). Overridden because the prompts score is significantly higher than the main score and top match is “Prompt Engineering Practical Guides”.

Pages updated (3 content pages, within 5-page batch cap)

  • wiki/prompts/concepts/prompt-caching.md — added 15 RPM/key traffic limit, GPT-5.6+ strict 1024 token minimum, and older model 1024-2048 range; promoted l1→l2
  • wiki/prompts/entities/gpt-5-6.md — added dedicated Prompt Caching section (implicit breakpoint changes, 1.25x write cost); promoted l1→l2
  • wiki/prompts/concepts/prompt-engineering-guides.md — refined OpenAI guide section with specific placement advice (static content first); promoted l1→l2
  • prompts-index.md — updated updated date
  • prompts-log.md — this entry

Guardrails applied

  • Compounding invariant: existing pages extended, none overwritten
  • Max 8 outbound links: satisfied on all updated pages
  • Existing pages updated: 3 (within 5-page cap)
  • Forward-only linking: no backfill
  • Tags: reused existing taxonomy
  • Provenance: frontmatter sources + inline ^[...] citations

Verification

  • pwsh -File scripts/wikilint.ps1 -Scope prompts → wikilint: OK — All checks passed (149 pages, scope: prompts)

[2026-08-03] audit | Prompt Wiki content maintenance closed

  • Reconciled the historical implementation plan with the current repository state; the plan is complete and remains as historical execution evidence.
  • Catalog verified: 147 content pages (61 entities, 75 concepts, 5 comparisons, 6 queries).
  • scripts/wikilint.ps1 -Scope prompts: OK — 147 pages, zero property/link/content errors, zero stale pages, zero broken external links.
  • Low-confidence findings are intentional provenance labels: three technique summaries sourced from a guide, six leaked or third-party prompt captures, and two vendor/benchmark pages with explicitly bounded claims. They are not unreviewed content gaps.
  • Historical drift was resolved by updating the plan and catalog counts; no source-to-page implementation gap remains in the current scope.

prompts-log.md — Chronological Action Log

Append-only record of all prompt wiki operations. Format: ## [YYYY-MM-DD] action | subject


[2026-08-21] query | Refine OpenCode repository-aware agent discovery skill prompt

[2026-07-16] create | Prompt wiki initialized

  • Created prompts-log.md — action log for prompt wiki
  • Created prompts-index.md — content catalog
  • First ingest: Perplexity AI system prompt (leaked)
  • Source captured: raw/prompts/leaked/perplexity-ai-system-prompt.md
  • Entities created: perplexity-system-prompt, perplexity-ai
  • Concepts created: two-tier-search-architecture

Related: Prompt Wiki Catalog, perplexity-system-prompt.

[2026-07-17] ingest | Prompt Engineering Guide (promptingguide.ai/pt)

  • Raw capture: Fetched 121 pages from promptingguide.ai/pt via 5 parallel task agents
    • Introduction (7 pages), Techniques (18), Applications (10), Prompt Hub (25), Models (22), Risks (4), Research (14), Agents (8), Guides (6), Other (7)
  • Raw sources: Saved to raw/prompts/articles/promptingguide-pt-*.md
  • Wiki pages created (48):
    • Entity: dair-ai — DAIR.AI organization
    • Entities (21): FLAN through Model Collection — model-specific pages
    • Concepts (11): guide structure, techniques hub, applications, risks, prompt hub, models guide, research, agents, guides, settings
    • Concepts (16): zero-shot through graph-prompting — individual technique pages
    • Concept: rag — copied with updated path (cross-wiki RAG content)
  • Updated: prompts-index.md (24 entities, 28 concepts)
  • Retroactive fix: Pages were initially created in main wiki (wiki/). Moved to wiki/prompts/ after catching the multi-wiki routing error.

[2026-07-22] index | Concept catalog sync (28→44)

  • Discovered 16 concept files on disk not listed in prompts-index.md
  • All 16 had full content (none stubs) — lifecycle, ≥2 wikilinks, substantial text
  • Added to index alphabetically among existing 28
  • Total concept entries: 28 → 44

Affected pages: Prompt Wiki Catalog.

[2026-07-22] index | Comparison catalog sync (0→5)

  • Discovered 5 comparison files on disk not listed in prompts-index.md
  • All 5 had full content (none stubs) — lifecycle, ≥2 wikilinks, substantial text
  • Added Comparisons section to index with 5 entries
  • Total page count: 83 → 88

Affected pages: Prompt Wiki Catalog.

[2026-08-03] query | Vault coverage of system prompts (theory + real captures)

[2026-07-22] audit | Remaining raw source audit

  • 124 raw files total: 111 already ingested, 1 duplicate (taxonomy-synthesis.md = taxonomy-synthesis-2026-07-16.md), 12 small peripheral meta-pages (<2KB each: course listings, datasets, tool refs, papers/readings indices)
  • No substantive new sources found — all high-value content already ingested
  • Task complete: nothing to ingest

[2026-07-22] lint | Final prompt wiki lint

  • scripts/wikilint.ps1 -Scope prompts — 91 pages, 9/9 checks PASS
  • 3 pre-existing low-confidence warnings (graph-prompting, prompt-chaining, reflexion) — by design
  • No broken links, no orphans, no stale pages, all have lifecycle

[2026-07-22] query | Voice/style prompting techniques

  • Query: “Which prompt engineering techniques can I use to make this prompt better?” — user provided a literary voice/style system prompt
  • Route: Classifier returned ambiguous → user confirmed prompt wiki
  • Sources consulted (15 pages): taxonomy-synthesis-2026-07-16.md, promptingguide-pt-introduction-tips.md, promptingguide-pt-introduction-basics.md, promptingguide-pt-introduction-elements.md, promptingguide-pt-introduction.md, promptingguide-pt-guides-optimizing-prompts.md, promptingguide-pt-risks-adversarial.md, promptingguide-pt-prompts-creativity-infinite-primes.md, promptingguide-pt-prompts-creativity-rhymes.md, promptingguide-pt-prompts-adversarial-prompting-jailbreaking-llms.md
  • Wiki pages read (10): communication-style-spectrum, paired-thinking-response, xml-envelope-format, markdown-header-format, xml-vs-markdown-envelopes, monolithic-prompt-limits, prompt-engineering-techniques, prompt-engineering-guide, prompt-engineering-risks, how-to-structure-a-system-prompt, llm-settings-and-parameters, prompt-engineering-research-gaps, anti-prompt-injection, prompt-hub-catalog
  • Created: how-to-improve-a-voice-style-prompt (query) — 8 techniques with full citation map
  • Updated: prompts-index.md — added Queries section (6 entries), correcting oversight
  • Gap registered: Voice/style prompting is an underserved area in the corpus — zero examples in the ~52 tool taxonomy

[2026-07-31] ingest | Grok Personas leaked system-prompt collection

Source

  • raw/prompts/leaked/grok-personas.md — leaked collection of 6 xAI/Grok persona system prompts from asgeirtj/system_prompts_leaks (xAI/grok-personas.md)
  • Captured via webfetch from https://raw.githubusercontent.com/asgeirtj/system_prompts_leaks/refs/heads/main/xAI/grok-personas.md
  • Evidence body preserved exactly as fetched; provenance frontmatter records source URL and source_type: leaked-prompt

Route validation

  • scripts/route-classifier.ps1 -Query "grok-personas.md system prompt leak from xAI"
  • Route: ambiguous (confidence: 0) — no trained match found
  • Manual override: prompt wiki — this is a real system prompt (leaked), which matches the prompt wiki trigger (“real system prompts, leaked”) from root AGENTS.md Multi-Wiki Routing HARD RULE
  • Override justified: the classifier has no training data for this specific pattern, but the content is unambiguously a leaked system prompt collection → prompt wiki per wiki/prompts/AGENTS.md

Pages created (1 entity)

  • wiki/prompts/entities/grok-personas.md — entity documenting the 6 Grok personas (Companion, Unhinged Comedian, Loyal Friend, Homework Helper, Not a Doctor, Not a Therapist); prompt_type: system, envelope_format: markdown, tool_origin: grok; lifecycle: l1, confidence: high

Pages updated (1 entity)

  • wiki/prompts/entities/grok-1.md — added outbound wikilink to grok-personas to prevent orphan status (forward-only linking); lifecycle promoted l0→l1 (now 2+ sources via persona cross-reference); updated: 2026-07-31

Pages updated (2 navigation)

  • prompts-index.md — added grok-personas entity entry; page count 94→95 (38 entities)
  • prompts-log.md — this entry

Guardrails applied

  • Entity threshold (2+ mentions): grok-personas is central to one source (the leaked file itself)
  • Max 8 outbound links per page: 6 used
  • Min 2 outbound links per page: 6 used
  • Raw evidence immutable: body preserved exactly
  • Forward-only linking: no backfill of sources into grok-1 frontmatter
  • All tags in prompt wiki taxonomy: prompt-engineering, system-prompt, communication-style, safety-defense, architecture-pattern
  • Provenance: frontmatter sources + inline ^[…] citations present

Verification

  • pwsh -File scripts/wikilint.ps1 -Scope prompts — see output below

[2026-07-31] ingest | Grok Expert multi-agent team-leader system prompt

Source

  • raw/prompts/leaked/grok-expert.md — leaked system prompt for Grok as team leader of a multi-agent collaboration (Harper, Benjamin, Lucas) from asgeirtj/system_prompts_leaks (xAI/grok-expert.md)
  • Captured via webfetch from https://raw.githubusercontent.com/asgeirtj/system_prompts_leaks/refs/heads/main/xAI/grok-expert.md
  • Evidence body preserved exactly as fetched; provenance frontmatter records source URL and source_type: leaked-prompt

Route validation

  • scripts/route-classifier.ps1 -Query "grok-expert.md system prompt leak from xAI multi-agent team leader"
  • Route: prompts (confidence: 0.691) — trained match, no override needed
  • Top prompts match: Grok Personas; top main match: Context Engineering

Pages created (1 entity)

  • wiki/prompts/entities/grok-expert.md — entity documenting Grok Expert: identical-prompt multi-agent team (leader + Harper/Benjamin/Lucas), 13-tool suite, leader-only render components, shared grok-4.5-style safety rules, response-style override slot; prompt_type: system, envelope_format: markdown, tool_origin: grok; lifecycle: l1, confidence: high

Pages updated (2 entities)

  • wiki/prompts/entities/grok-1.md — added outbound wikilink to grok-expert in the link bar (forward-only linking)
  • wiki/prompts/entities/grok-personas.md — added grok-expert cross-reference to Related section (sibling leaked Grok prompt)

Pages updated (2 navigation)

  • prompts-index.md — added grok-expert entity entry; page count 95→96 (39 entities)
  • prompts-log.md — this entry

Guardrails applied

  • Entity threshold (2+ mentions): grok-expert is central to one source (the leaked file itself)
  • Max 8 outbound links per page: 7 used
  • Min 2 outbound links per page: 7 used
  • Raw evidence immutable: body preserved exactly
  • Forward-only linking: only added forward links from grok-1 and grok-personas; no backfill
  • All tags in prompt wiki taxonomy: prompt-engineering, system-prompt, architecture-pattern, safety-defense, communication-style
  • Provenance: frontmatter sources + inline ^[…] citations present

Verification

  • pwsh -File scripts/wikilint.ps1 -Scope prompts — see output below

[2026-07-31] query | Audit and enhance token-reduction catalogue prompt

  • Query: “Audit this prompt against our knowledge database and enhance it for better results” — user’s prompt asks for a catalogue of token-reduction techniques for vibe coding
  • Route: Classifier returned ambiguous (main 9.91 / prompts 9.89) → user confirmed prompt wiki
  • Sources consulted (raw): promptingguide-pt-guides-reasoning-llms.md, promptingguide-pt-applications-context-caching.md, taxonomy-synthesis-2026-07-16.md, promptingguide-pt-models-kimi-k2.5.md
  • Wiki pages read (prompt wiki): llm-settings-and-parameters, communication-style-spectrum, monolithic-prompt-limits, kimi-k2.5, which-envelope-format-should-i-use, prompt-engineering-research-gaps, xml-vs-markdown-envelopes, template-variable-prompts, cooldown-heuristics, multi-file-agent-architecture, claude-code-system-prompt, paired-thinking-response
  • Cross-wiki read: wiki/concepts/context-engineering.md (main wiki)
  • Audit findings delivered: 8 prompt weaknesses + vault-grounded technique inventory for the token-reduction catalogue; enhanced prompt delivered inline (not filed)
  • Gap registered: No dedicated prompt-wiki concept or query page for token-reduction / context-budget management — token efficiency knowledge is distributed across envelope-format, architecture, and communication-style pages

[2026-07-31] ingest | Grok Build agentic coding CLI system prompt

Source

  • raw/prompts/leaked/grok-build.md — leaked system prompt for xAI’s Grok Build terminal-native agentic coding assistant (Grok 4.5) from asgeirtj/system_prompts_leaks (xAI/grok-build.md)
  • Captured via webfetch from https://raw.githubusercontent.com/asgeirtj/system_prompts_leaks/refs/heads/main/xAI/grok-build.md
  • Evidence body preserved exactly as fetched; provenance frontmatter records source URL and source_type: leaked-prompt

Route validation

  • scripts/route-classifier.ps1 -Query "Capture and ingest the leaked xAI Grok Build system prompt from asgeirtj/system_prompts_leaks GitHub repository"
  • Route: ambiguous (confidence: 0.614; main score: 10.5487, top main match Nowledge Mem; prompts score: 16.7535, top prompts match Grok Personas)
  • Manual override: prompt wiki — user explicitly confirmed prompt wiki after classifier ambiguity. Override justified: leaked real system prompt for an agentic coding tool matches the prompt wiki trigger (“real system prompts, leaked”), and the prompt score (16.75) is well above the main score (10.55) with the top prompt-wiki match being the sibling Grok Personas page.

Pages created (1 entity, 1 concept)

  • wiki/prompts/entities/grok-build.md — entity documenting Grok Build: 3-part prompt structure (core tag-block behavioral rules, 27-tool JSON schema suite, runtime-injected context templates); prompt_type: system, envelope_format: markdown, tool_origin: grok; lifecycle: l1, confidence: high
  • wiki/prompts/concepts/action-safety-tiering.md — concept distilling the <action_safety> risk-tiered confirmation policy (reversibility × reach; “one approval is not a blank check”; investigate-unexpected-state tenet); lifecycle: l1, confidence: high

Pages updated (3 entities)

  • wiki/prompts/entities/grok-1.md — added outbound wikilink to grok-build in the link bar (forward-only linking)
  • wiki/prompts/entities/grok-personas.md — added grok-build cross-reference to Related section (sibling leaked Grok prompt)
  • wiki/prompts/entities/grok-expert.md — added grok-build cross-reference to Related section (sibling leaked Grok prompt)

Pages updated (2 navigation)

  • prompts-index.md — added grok-build entity + action-safety-tiering concept entries; page count 96→98 (40 entities, 45 concepts)
  • prompts-log.md — this entry

Guardrails applied

  • Entity threshold (2+ mentions): grok-build is central to one source (the leaked file itself)
  • Max 8 outbound links per page: 7 (grok-build), 4 (action-safety-tiering)
  • Min 2 outbound links per page: satisfied on both new pages
  • Existing pages updated: 3 (within the 5-page batch cap)
  • Raw evidence immutable: body preserved exactly
  • Forward-only linking: only added forward links from grok-1, grok-personas, grok-expert; no backfill
  • All tags in prompt wiki taxonomy: prompt-engineering, system-prompt, architecture-pattern, safety-defense, workflow-pattern, tool-origin
  • Provenance: frontmatter sources + inline ^[…] citations present
  • No new tags introduced; no _schema changes needed

Open gap (noted, not created)

  • raw/prompts/leaked/grok-4.5-system-prompt.md (the base Grok 4.5 safety-rules leak) still has no wiki entity page — out of scope for this ingest, flagged for a future pass.

Verification

  • pwsh -File scripts/wikilint.ps1 -Scope prompts — see output below

[2026-07-31] ingest | OpenAI Reasoning Models guide

Source

  • raw/prompts/articles/openai-reasoning-models-guide.md — official OpenAI Reasoning Models guide from developers.openai.com
  • Captured via webfetch from https://developers.openai.com/api/docs/guides/reasoning
  • Evidence body preserved exactly as fetched (792 lines); provenance frontmatter records source_url and source_type: web

Route validation

  • scripts/route-classifier.ps1 -Query "Capture and ingest the official OpenAI Reasoning Models guide from developers.openai.com (reasoning effort, reasoning mode, reasoning tokens, reasoning context, phase parameter)"
  • Route: ambiguous (confidence: 0.502; main score: 10.8017, top main match RAG vs Fine-tuning; prompts score: 10.9054, top prompts match Prompt Engineering Practical Guides)
  • Manual override: prompt wiki — user explicitly confirmed prompt wiki after classifier ambiguity. Override justified: the guide is API-level prompt/inference guidance for reasoning models, and the top prompt-wiki match (Prompt Engineering Practical Guides) is the directly on-topic sibling page that this ingest extends.

Pages created (1 entity, 1 concept)

  • wiki/prompts/entities/gpt-5-6.md — entity documenting the OpenAI GPT-5.6 reasoning model family: model lineup (gpt-5.6 / -sol / -terra / -luna), reasoning effort + mode, reasoning-token budgeting (max_output_tokens, incomplete/max_output_tokens, 25k buffer), reasoning.context, previous_response_id, encrypted_content, summaries, phase; lifecycle: l1, confidence: high
  • wiki/prompts/concepts/reasoning-effort.md — concept distilling the API-level reasoning control surface (effort scale none→max, mode standard/pro, model-dependent defaults, token budgeting) as inference-level complement to prompt-level CoT; lifecycle: l1, confidence: high

Pages updated (3 pages, within 5-page batch cap)

  • wiki/prompts/entities/chatgpt.md — added forward link to gpt-5-6 (predecessor → successor)
  • wiki/prompts/concepts/prompt-engineering-guides.md — Reasoning LLMs section now points to reasoning-effort and gpt-5-6
  • wiki/prompts/concepts/paired-thinking-response.md — added reasoning-effort cross-reference (user-hidden vs developer-hidden reasoning)

Pages updated (2 navigation)

  • prompts-index.md — added gpt-5-6 entity + reasoning-effort concept entries; page count 98→100 (41 entities, 46 concepts)
  • prompts-log.md — this entry

Guardrails applied

  • Entity threshold (2+ mentions): gpt-5.6 family is central to the source
  • Max 8 outbound links per page: 6 (gpt-5-6), 3 (reasoning-effort)
  • Min 2 outbound links per page: satisfied on both new pages
  • Existing pages updated: 3 (within the 5-page batch cap)
  • Raw evidence immutable: body preserved exactly
  • Forward-only linking: only added forward links from chatgpt, prompt-engineering-guides, paired-thinking-response; no backfill
  • Tags reused from existing taxonomy (modelo, openai, reasoning, llm; prompt-engineering, instruction-pattern); no new tags introduced; no _schema changes needed
  • Provenance: frontmatter sources + inline ^[…] citations present
  • No contradictions with existing pages (reasoning-effort positioned as complement to chain-of-thought, not replacement)

Verification

  • pwsh -File scripts/wikilint.ps1 -Scope prompts — see output below

[2026-07-31] ingest | OpenAI Structured Outputs Guide + OpenAI Prompt Engineering Guide

Raw capture

  • raw/prompts/articles/openai-structured-outputs-guide.md — official OpenAI Structured Outputs guide (developers.openai.com), fetched via webfetch; evidence body immutable
  • raw/prompts/articles/openai-prompt-engineering-guide.md — official OpenAI Prompt Engineering guide (developers.openai.com), fetched via webfetch; evidence body immutable

Route validation

  • scripts/route-classifier.ps1 -Query "Capture and ingest the official OpenAI Structured Outputs guide from developers.openai.com (structured outputs, response_format, JSON schema)" → Route: ambiguous (confidence 0.521; main score 9.0425, top main match Embeddings; prompts score 9.8227, top prompts match Prompt Engineering Applications)
  • scripts/route-classifier.ps1 -Query "Capture and ingest the official OpenAI Prompt Engineering guide from developers.openai.com (prompt engineering techniques and best practices)" → Route: ambiguous (confidence 0.527; main score 12.2207, top main match RAG vs Fine-tuning; prompts score 13.6429, top prompts match Prompt Engineering Applications)
  • Manual override: prompt wiki — user explicitly confirmed both sources route to the prompt wiki after classifier ambiguity. Override justified: both are official API-level prompt/inference guides on-topic for the prompt wiki, and their closest existing siblings (prompt-engineering-guides, gpt-5-6) live there.

Pages created (2 concepts)

  • wiki/prompts/concepts/structured-outputs.md — JSON-Schema-guaranteed output via text.format: json_schema; vs JSON mode; explicit refusals; strict schema subset + limits; SDK helpers (Pydantic/Zod); lifecycle l1, confidence high
  • wiki/prompts/concepts/message-roles.md — developer/user/assistant priority chain; instructions parameter (current-generation scope); developer-message structure (Identity/Instructions/Examples/Context); lifecycle l1, confidence high

Pages updated (3 content pages, within 5-page batch cap)

  • wiki/prompts/entities/gpt-5-6.md — added Structured Outputs Support section (structured-outputs) and Model Selection section (reasoning vs GPT models, GPT-5 best practices); sources += both new raw paths; 7 outbound links
  • wiki/prompts/concepts/prompt-engineering-guides.md — added OpenAI Prompt Engineering Guide and OpenAI Structured Outputs Guide sections; sources += both raw paths; lifecycle l0→l1; 8 outbound links
  • wiki/prompts/concepts/llm-settings-and-parameters.md — added Structured Outputs and Determinism section (schema guarantees vs sampling parameters); sources += structured-outputs raw path; lifecycle l0→l1

Guardrails applied

  • Compounding invariant: all three existing pages preserved and extended, none overwritten
  • Entity/concept threshold: both new concepts are central to their source
  • Max 8 outbound links: gpt-5-6 7, prompt-engineering-guides 8, llm-settings-and-parameters 4, structured-outputs 4, message-roles 5
  • Min 2 outbound links: satisfied on all five pages
  • Existing pages updated: 3 (within 5-page cap)
  • Forward-only linking: no backfill
  • Tags: reused existing vocabulary (prompt-engineering, instruction-pattern, openai, llm); no new tags; no _schema changes
  • Provenance: frontmatter sources + inline ^[…] citations
  • Contradictions: none — message-roles and structured-outputs positioned as complements to existing pages (chain-of-thought, reasoning-effort)

Open questions carried to pages

  • Refusal behavior under reasoning effort; schema adherence across multi-step agentic loops (structured-outputs)
  • developer-role interaction with tool-result messages; Chat Completions parity (message-roles)
  • Dated claim: OpenAI reusable prompt objects (v1/prompts) shutdown November 30, 2026

Verification

  • pwsh -File scripts/wikilint.ps1 -Scope prompts — see output below

[2026-07-31] capture | Claude Code costs — manage costs and reduce token usage

  • Raw capture only: raw/prompts/articles/claude-code-costs-reduce-token-usage.md — official Claude Code docs page (code.claude.com/docs/en/costs), fetched via webfetch; evidence body immutable
  • Route validation: scripts/route-classifier.ps1 -Query "Capture and ingest the Claude Code docs page on costs and reducing token usage (token consumption reduction, prompt caching, context management, agent configuration)" → Route: ambiguous (confidence 0.515; main score 16.8941, top main match Claude Code; prompts score 15.9102, top prompts match Prompt Engineering Research Gaps)
  • Manual override: prompt wiki — user explicitly selected prompt wiki. Override justified: token-usage reduction for a coding agent is prompt/context-engineering product guidance (tool-origin: claude-code).
  • Status: captured; step-3 analysis and page synthesis pending user confirmation

[2026-07-31] ingest | Claude Code costs — manage costs and reduce token usage

Raw capture

  • raw/prompts/articles/claude-code-costs-reduce-token-usage.md — official Claude Code docs page (code.claude.com/docs/en/costs); evidence body immutable

Route validation

  • scripts/route-classifier.ps1 -Query "Capture and ingest the Claude Code docs page on costs and reducing token usage (token consumption reduction, prompt caching, context management, agent configuration)" → Route: ambiguous (confidence 0.515; main score 16.8941, top main match Claude Code; prompts score 15.9102, top prompts match Prompt Engineering Research Gaps)
  • Manual override: prompt wiki — user explicitly selected prompt wiki. Override justified: token-usage reduction for a coding agent is prompt/context-engineering product guidance (tool-origin: claude-code).

Pages created (1 concept)

  • wiki/prompts/concepts/token-usage-reduction.md — context management, prompt caching, model selection, extended-thinking and agent-team cost levers; lifecycle l1, confidence high

Pages updated (4 content pages, within 5-page batch cap)

  • wiki/prompts/entities/claude-code-system-prompt.md — added Costs and Token Usage section (/usage, /usage-credits, caching, compaction, model selection); sources += claude-code costs raw; lifecycle l0→l1
  • wiki/prompts/entities/claude-3.md — added Prompt Caching e Seleção de Modelo section (Sonnet default / Opus / haiku, cache lifetime 1h vs 5min); sources += claude-code costs raw; lifecycle l0→l1
  • wiki/prompts/concepts/llm-settings-and-parameters.md — added Extended Thinking Settings section (/effort, MAX_THINKING_TOKENS, adaptive vs fixed budgets); sources += claude-code costs raw
  • wiki/prompts/concepts/ai-agents-guide.md — added Agent Team Token Costs section (~7× tokens in plan mode, team-size scaling); sources += claude-code costs raw
  • prompts-index.md — added token-usage-reduction; page count 102→103 (41 entities, 49 concepts)
  • prompts-log.md — this entry

Guardrails applied

  • Compounding invariant: all four existing pages preserved and extended, none overwritten
  • Max 8 outbound links: token-usage-reduction 5, claude-code-system-prompt 6, claude-3 7, llm-settings-and-parameters 6, ai-agents-guide 5
  • Min 2 outbound links: satisfied on all five pages
  • Existing pages updated: 4 (within 5-page cap)
  • Forward-only linking: no backfill
  • Tags: reused existing vocabulary (prompt-engineering, claude-code, context-engineering, anthropic); no new tags; no _schema changes
  • Provenance: frontmatter sources + inline ^[…] citations
  • Contradictions: none — token-usage-reduction positioned as complement to llm-settings-and-parameters and ai-agents-guide

Open questions carried to page

  • Cache-lifetime distinction (1h vs 5min) is version-sensitive
  • model: haiku quality on non-trivial subagent tasks

Verification

  • pwsh -File scripts/wikilint.ps1 -Scope prompts — see output below

[2026-07-31] query | Prompt techniques for a repo tech-debt housekeeping prompt (prompt-master)

  • Query: “Query the wiki to find prompt techniques to use alongside prompt-master before delivering a tech-debt housekeeping prompt for this repo”
  • Route: scripts/route-classifier.ps1 returned ambiguous (confidence 0.554; main 11.61 / prompts 9.35) → user confirmed prompt wiki
  • Technique inventory delivered (7 pages read): action-safety-tiering (reversibility × reach confirmation policy), plan-before-implement-gate (analyze→plan→approve→implement), preliminary-context-gathering (inventory before acting), task-state-machine (pending→active→done→verified artifact lifecycle), communication-style-spectrum (explain-before-do + enumerate-exhaustively for the classification report), cooldown-heuristics (loop guard), chain-of-thought-pattern (step-by-step reasoning)
  • Cross-wiki grounding: vault guardrails (raw/ immutability, compounding invariant, log every action) applied to the generated prompt
  • Output: Claude Code housekeeping prompt delivered inline (not filed); target tool and repo scope confirmed with user

Related: action-safety-tiering, plan-before-implement-gate, preliminary-context-gathering.

[2026-07-31] ingest | Batch 1 — token-compression tools (RTK, Headroom, Token Optimizer MCP)

  • Task: Test batch ingest mode — capture and ingest every link inside D:\tokenreduction\techniques-with-links.md
  • Route: scripts/route-classifier.ps1 returned ambiguous (confidence 0.502; main 6.023 / prompts 6.059) → user confirmed prompt wiki
  • Source doc provenance: raw/prompts/token-reduction-techniques.md (captured copy of the doc, immutable)
  • Batch capture: 53 unique URLs extracted from the doc → external_links.py capture --batch → 48 queued (3 HTTP 403, no snapshot: help.openai.com/en/articles/11096431, openai.com/index/unrolling-the-codex-agent-loop, platform.openai.com/docs/api-reference/chat/create; 2 redirects collapsed as duplicates)
  • Batch 1 claimed (5, token-compression tools theme):
    • RTK repo + site + issue #582 (github-com-rtk-a2ac6abb.md, rtk-ai-app-index-1d38dd66.md, github-com-f7d4988e.md)
    • Headroom (github-com-headroom-cbd05f4e.md)
    • Token Optimizer MCP (github-com-token-optimizer-mcp-987700a8.md)
  • Candidates: 3 written to raw/.ingest-queue/candidates/, all approved by user (--decide approve)
  • Entities created (3): rtk-rust-token-killer (contested: true), headroom, token-optimizer-mcp
  • Existing pages updated (1): token-usage-reduction — recorded RTK contradiction (input compression can increase cost: +18% cost / 50% more output tokens, issue #582); contested: true
  • Key finding (contradiction pass): token reduction ≠ cost reduction — output tokens billed ~5× input on Opus-class; input-only proxies can push cost negative (RTK #582). Headroom adds output shaping; Token Optimizer MCP measures against control arm.
  • Sources completed: all 5 (--complete) after materialization
  • Backlog remaining: 43 pending (next batches to claim)
  • Compounding invariant: token-usage-reduction preserved and extended, not overwritten
  • Tags: token-usage-reduction used as tag consistent with sibling concept page; no _schema.md changes
  • Contradictions: rtk-rust-token-killer ↔ token-usage-reduction (both contested: true, linked in contradictions frontmatter)

Verification

  • pwsh -File scripts/wikilint.ps1 -Scope prompts — see output below

[2026-07-31] ingest | Batch 4 — Claude Code official docs (5 sources)

  • Task: continue batch ingest of all links from D:\tokenreduction\techniques-with-links.md (backlog processing)
  • Batch 4 claimed (5, Claude Code official docs):
    • docs-anthropic-com-best-practices-855abde4.md (Best practices for Claude Code)
    • code-claude-com-model-config-815ffab5.md (Model configuration)
    • code-claude-com-agents-47001d98.md (Run agents in parallel)
    • code-claude-com-context-window-4fb02d1e.md (Explore the context window)
    • code-claude-com-sub-agents-5d62f063.md (Create custom subagents)
  • Candidates: 5 written, all approved (5 create, 0 merge)
  • Concepts created (5): claude-code-best-practices (verification levels, explore→plan→code→commit, context-window primacy), claude-code-model-configuration (provider-dependent aliases, opusplan hybrid, availableModels governance), claude-code-parallel-agents (four parallelization approaches, worktree isolation, token multiplier), claude-code-context-window (startup context, compaction survival, 1M-token gate, /context), claude-code-subagents (markdown+frontmatter, five-scope precedence, Haiku routing, background tool pool)
  • Existing pages updated: 0 (all new pages)
  • Sources completed: all 5 (--complete)
  • Backlog remaining: 28 pending
  • Compounding invariant: all new pages; cross-links between claude-code-subagents and claude-code-parallel-agents both new this batch (forward-only preserved)
  • Contradictions: none new; version-sensitive claims (v2.1.153–v2.1.219 gates, Opus 5/Sonnet 5/Fable 5 model names) annotated in Open Questions; provider-dependent alias resolution flagged as seeming-contradiction source
  • Tags: prompt-engineering, workflow-pattern, configuration, architecture-pattern, tool-origin reused from existing vocabulary

Verification

  • pwsh -File scripts/wikilint.ps1 -Scope prompts — see output below

[2026-07-31] ingest | Batch 2 — Claude Code cost/context official docs (5 sources)

  • Task: continue batch ingest of all links from D:\tokenreduction\techniques-with-links.md (backlog processing)
  • Batch 2 claimed (5, Claude Code official docs):
    • code-claude-com-costs-ea267c0e.md (Manage costs effectively)
    • platform-claude-com-prompt-caching-a167718a.md (Prompt caching)
    • code-claude-com-memory-09a26217.md (How Claude remembers your project)
    • code-claude-com-sessions-0ab9c7fd.md (Manage sessions)
    • code-claude-com-env-vars-12397363.md (Environment variables)
  • Candidates: 5 written, all approved (4 create + 1 merge into token-usage-reduction)
  • Concepts created (4): prompt-caching (0.1× reads / 1.25–2× writes, model-specific prefix minimums), claude-code-memory (CLAUDE.md hierarchy + auto memory), claude-code-sessions (resume/branch/export), claude-code-environment-variables (token budgets, caching, model pins)
  • Existing pages updated (1): token-usage-reduction — added rate-limit tiers, /usage attribution, background usage, CLAUDE.md→skills migration; promoted l1→l2
  • Sources completed: all 5 (--complete)
  • Backlog remaining: 38 pending
  • Compounding invariant: token-usage-reduction preserved and extended
  • Contradictions: none new (prompt-caching numbers annotated as version-sensitive in Open Questions)
  • Tags: claude-code, memory, workflow-pattern, configuration reused from existing vocabulary

Verification

  • pwsh -File scripts/wikilint.ps1 -Scope prompts — see output below

[2026-07-31] ingest | Batch 3 — context-reduction research papers + codebase-memory repo (5 sources)

  • Task: continue batch ingest of all links from D:\tokenreduction\techniques-with-links.md (backlog processing)
  • Batch 3 claimed (5, research cluster):
    • arxiv-org-2603-29919-0aae2e40.md (SkillReducer, arXiv 2603.29919)
    • arxiv-org-2607-12161-a5d415f4.md (Token Reduction Is Not Cost Reduction, arXiv 2607.12161)
    • arxiv-org-2607-01916-96bad417.md (ContextSniper, arXiv 2607.01916)
    • arxiv-org-2603-27277-af87911a.md (Codebase-Memory paper, arXiv 2603.27277)
    • github-com-codebase-memory-mcp-f33fbe15.md (codebase-memory-mcp repo by DeusData)
  • Candidates: 4 written (paper+repo merged into one page), all approved (4 create, 0 merge)
  • Concepts created (4): skill-reducer (48% desc / 39% body compression, +2.8% quality), token-reduction-is-not-cost-reduction (−38% tool-output → +6.8% billed cost; cache ≈80–87% of bill), contextsniper (−51.5%/−36.4% and −38.9%/−27.3%, resolution unchanged, recoverable evidence), codebase-memory (Tree-Sitter KG over MCP; 83% vs 92% quality at ~10× fewer tokens; 158 languages; aliases: codebase-memory-mcp)
  • Existing pages updated: 0 (all new pages)
  • Sources completed: all 5 (--complete)
  • Backlog remaining: 33 pending
  • Compounding invariant: all new pages; rtk-rust-token-killer and token-usage-reduction cross-linked but not modified (forward-only linking preserved)
  • Contradictions: recorded the paper/repo token-claim discrepancy (~10× vs 99.2%, different baselines) in codebase-memory Open Questions; TRINCR paper independently corroborates RTK issue #582 (prompt-cache ~87% of cost)
  • Tags: prompt-engineering, token-usage-reduction, research-gap, tool-origin reused from existing vocabulary

Verification

  • pwsh -File scripts/wikilint.ps1 -Scope prompts — see output below
  • Task: continue batch ingest of the external-link capture backlog (raw/external/) from the batch workflow
  • Batch 5 claimed (5, token/context-cost cluster):
    • github-com-claude-code-cache-fix-0e94ee20.md (claude-code-cache-fix)
    • github-com-codeburn-99fcb193.md (codeburn)
    • github-com-contextsniper-7749d2f0.md (ContextSniper GitHub repo — MERGE into existing contextsniper)
    • github-com-context-mode-052ecc22.md (Context Mode)
    • github-com-crush-fb00f031.md (Crush)
  • Candidates: 5 written (4 create + 1 merge), all approved (4 create, 1 merge)
  • Entities created (4): claude-code-cache-fix (silent /resume cache break fixed by local proxy; “up to 20x cost”; cache-hit observability), codeburn (local-first usage tracker, 36 tools, never intercepts; optimize/guard/compare), context-mode (sandboxed tool output ~98% claimed; FTS5 session memory; hook-enforced routing), crush (charmbracelet multi-model CLI; crushrc/AGENTS.md; FSL-1.1-MIT)
  • Existing page merged (1): contextsniper — extended with repo Implementation section (dual plugins, repo numbers, config) + 2 new Open Questions (authorship unverified, number discrepancy)
  • Sources completed: all 5 (--complete)
  • Backlog remaining: 28 pending
  • Compounding invariant: contextsniper preserved and extended, not overwritten
  • Contradictions: recorded codeburn 31-vs-36 internal count; Context Mode 17-vs-18 platforms; ContextSniper repo-vs-paper token/cost number discrepancies
  • Tags: prompt-engineering, tool-origin, token-usage-reduction reused from existing vocabulary
  • Orphan resolution (forward-only, guardrail #6): 4 new entity pages had zero inbound links. Per vault precedent (log entry 2026-07-31 grok-1→grok-personas), existing pages were updated to point forward at the new pages — no backfilling, 4 pages updated (total 5 with contextsniper, exactly at the max-5 budget):
    • prompt-caching → +claude-code-cache-fix (cache-hit repair)
    • claude-code-sessions → +codeburn (reads on-disk sessions)
    • contextsniper → +context-mode (select-don’t-destroy parallel)
    • ai-agents-guide → +crush (agentic CLI instance)
  • Verification: pwsh -File scripts/wikilint.ps1 -Scope prompts → OK — all checks passed (121 pages, 0 errors). Queue: 0 claimed, 0 failed, 23 pending.

[2026-07-31] ingest | Batch 6 — Agent Skills ecosystem (5 sources)

  • Task: continue batch ingest of the external-link capture backlog (raw/external/) from the batch workflow
  • Batch 6 claimed (5, Agent Skills ecosystem cluster):
    • ponytailskill-com-718d054e.md (ponytail landing page)
    • github-com-ponytail-d8b2056c.md (ponytail GitHub repo — MERGED with landing into one entity)
    • skills-re-cc5c6e1d.md (skills.re registry)
    • openagentskill-com-6cae86ca.md (OpenAgentSkill registry + recommendation API)
    • github-com-anthropic-best-practices-md-d3c57d61.md (Anthropic SKILL.md authoring best practices, mirror in davila7/claude-code-templates)
  • Route validation: batch query → ambiguous (confidence 0.532; main 11.6677, prompts 13.2449); each subsource re-validated individually (best-practices: main 9.5133/prompts 15.7628 conf 0.624; ponytail: main 11.398/prompts 12.6153 conf 0.525; skills.re: main 16.7452/prompts 16.0239 conf 0.511; OpenAgentSkill: main 9.5099/prompts 10.5119 conf 0.525) → user confirmed all 5 to prompt wiki after ambiguity
  • Candidates: 4 written (3 create + 1 landing/repo merge into ponytail), all approved (4 create, 0 merge)
  • Pages created (1 concept, 3 entities):
    • skill-authoring-best-practices (concept) — concise SKILL.md, third-person descriptions, degrees of freedom high/medium/low, progressive disclosure one-level-deep; ties to skills-directory-gate, skill-reducer
    • ponytail (entity, aliases: ponytail-skill) — anti-overbuild skill; YAGNI ladder; agentic benchmark −54% LOC / −22% tokens / −20% cost / 100% safe; portable to 20+ agents
    • skills-re (entity, aliases: the-registry-of-agent-skills) — open registry; “a skill is an instruction, not an install”; CLI install per agent; public diffable reviews; ~7,380 skills in 8 categories
    • openagentskill (entity, aliases: oas) — registry + agent-facing API (POST /api/agent/resolve → skill + alternatives + fit/risk + install plan); 20,842 skills, 104 agent surfaces; compares to skills.sh / agentskills.io / native docs
  • Existing pages updated: 0 (all new pages)
  • Sources completed: all 5 (--complete)
  • Backlog remaining: 18 pending (queue prior to batch)
  • Compounding invariant: all new pages; registry pair (skills-re, openagentskill) and skill-authoring-best-practices cross-link each other; ponytail links forward to skill-authoring-best-practices and skills-directory-gate without modifying them
  • Contradictions (recorded in pages): ponytail benchmark corrects the earlier 80–94% LOC-reduction claim (issue #126: bare-model baseline padded answers; agentic mean −54% is the defensible figure); terse-reasoning models may reverse (thinking tokens); caveman control arm referenced in plain text (no page). Cross-source: OpenAgentSkill 20,842 vs skills.re ~7,380 indexed skills — different inclusion criteria, flagged not comparable
  • Tags: prompt-engineering, workflow-pattern, architecture-pattern, tool-origin reused from existing vocabulary; no _schema.md changes
  • Verification: pwsh -File scripts/wikilint.ps1 -Scope prompts → see output below

[2026-07-31] lint | synaptic-lint — scope all

  • Structural command: pwsh -File scripts/wikilint.ps1 -Scope all → OK, 219 pages; no Property or Link errors.
  • Prompt semantic findings: 14 raw/prompts/ sources currently have no contributing page, and 25 prompt pages cite raw/external/ rather than the prompt semantic root raw/prompts/.
  • Four prompt pages have low-confidence findings in the structural advisory layer; no automatic repairs were made.
  • [2026-07-31] semantic-repair | Prioridades 1–3 — Snapshots capturados em raw/external/ foram reconhecidos como evidência válida para a Prompt Wiki quando preservam metadados de captura; fontes Prompt sem página foram registradas com destinos sugeridos em docs/semantic-data-gaps.md. Nenhuma página foi criada por heurística.
  • [2026-07-31] ingest | Prompt resource backlog — Dez listas do Prompt Engineering Guide foram reunidas em prompt-engineering-resources; o inventário de redução de tokens foi ligado a token-usage-reduction; a síntese taxonômica duplicada foi ligada a prompt-engineering-techniques; e o prompt vazado do Grok 4.5 recebeu uma entidade cautelosa, grok-4-5-system-prompt, com confidence: low e contested: true. Fontes brutas não foram modificadas.

[2026-07-31] ingest | Batch 7 — OpenAI API docs (models, caching, reasoning, structured outputs, prompting)

  • Task: batch ingest of OpenAI API documentation captures from raw/external/, following the batch workflow.
  • Batch 7 claimed (5, OpenAI API docs cluster):
    • developers-openai-com-models-bd8184ce.md (Models overview: GPT-5.6 family)
    • developers-openai-com-prompt-caching-a7f81296.md (Prompt caching: breakpoints, cache keys)
    • developers-openai-com-reasoning-bc1c15f2.md (Reasoning models: effort, thinking)
    • developers-openai-com-structured-outputs-bd36d078.md (Structured outputs: schema, function calling)
    • developers-openai-com-prompting-2cb0df19.md (Prompting: refine, ship, /v1/prompts deprecation)
  • Route validation: all 5 OpenAI API docs → prompt wiki (confidence high; vendor API documentation for prompt/technique domain).
  • Candidates: 5 written, all merged into existing pages (0 new pages):
    • cand-b7-models → gpt-5-6 (pricing table Sol/Terra/Luna, 128K max output, 1.05M context, Feb 16 2026 cutoff)
    • cand-b7-openai-prompt-caching → prompt-caching (GPT-5.6 implicit breakpoint change, prompt_cache_breakpoint/prompt_cache_key, mode: explicit, TTL 30m, write 1.25×, min 1024 tokens)
    • cand-b7-openai-reasoning → reasoning-effort (effort best-for table, pro-mode billing, interleaved thinking, prompting advice)
    • cand-b7-openai-structured-outputs → structured-outputs (function-calling vs response_format decision rule, supported models, compatibility matrix)
    • cand-b7-openai-prompting → prompt-engineering-guides (OpenAI refine/ship rules, v1/prompts deprecation timeline June 3 / Nov 30 2026)
  • Existing pages updated (5): gpt-5-6, prompt-caching, reasoning-effort, structured-outputs, prompt-engineering-guides — all extended (sources added to frontmatter, inline ^[...] citations, Open Questions).
  • Compounding invariant: all updates preserved existing content and added new material; no page overwritten.
  • Contradictions: none recorded.
  • Sources completed: all 5 (--complete). Queue: 35 done, 13 pending, 0 claimed.
  • Tags: existing vocabulary reused; no _schema.md changes.
  • Verification: pwsh -File scripts/wikilint.ps1 -Scope prompts → OK, 127 pages; see output below.

[2026-07-31] lint | Batch 7 pre-flight + orphan/type repair (grok-4-5-system-prompt, prompt-engineering-resources)

  • Lint before repair reported 5 failures from pages created in the earlier semantic-repair/ingest pass (not Batch 7): orphan grok-4-5-system-prompt, orphan prompt-engineering-resources; unrecognized relationship types instance-of and illustrates (×2) in grok-4-5-system-prompt.
  • Repairs (forward-only, no page rewrites):
    • grok-4-5-system-prompt: "instance-of" → "belongs-to", "illustrates" ×2 → "implements" (vocabulary from _schema.md).
    • grok-1: added forward link [[grok-4-5-system-prompt]] (orphan inbound fix).
    • prompt-engineering-resources: orphan resolved — inbound link already present from prompt-engineering-guide; stale lint state cleared.
  • Verification: pwsh -File scripts/wikilint.ps1 -Scope prompts → OK, 127 pages, 0 errors.
  • [2026-07-31] lint | Fechamento das prioridades 1–3 — A auditoria estrutural em escopo all terminou com wikilint: OK em 225 páginas. O backlog Prompt e os snapshots externos estão roteados; a lacuna histórica da wiki principal foi resolvida por revalidação das páginas, sem fabricar evidência.

[2026-07-31] ingest | Batch 8 — OpenCode cluster (CLI, Config, Compaction, archived GitHub repo)

  • Task: batch ingest of the OpenCode source cluster from raw/external/, following the batch workflow.
  • Batch 8 claimed (4, OpenCode cluster):
    • dev-opencode-ai-cli-b01a850a.md (OpenCode V2 CLI reference)
    • opencode-ai-config-85d6db47.md (OpenCode V2 config reference)
    • opencode-ai-compaction-d433d7dd.md (OpenCode V2 compaction)
    • github-com-opencode-104f4b54.md (archived opencode-ai/opencode Go repo → moved to Crush)
  • Route validation: pwsh -File scripts/route-classifier.ps1 -Query "OpenCode CLI, config, compaction and GitHub repository documentation..." → ambiguous (confidence 0.545; main 15.1151, prompts 18.1411, top_main docmd.io, top_prompts “Grok Build (Agentic Coding CLI)”). User overrode to prompt wiki (tool-origin precedent: grok-build, cursor-system-prompt, claude-code-model-configuration).
  • Critical batch finding (name collision): two different products named “OpenCode” — archived Go opencode-ai/opencode (2025-09-18, continued as crush/charmbracelet) vs current V2 anomalyco/opencode. Documented as a warning on the opencode entity page.
  • Candidates: 2 written, both approved (2 create, 0 merge):
    • cand-b8-opencode → create opencode (entity, tool-origin) — V2 CLI surface, whitelist permission model, V2 config (JSONC, $schema, load order, accepted-but-inert fields), compaction summary; naming-collision warning; links claude/cursor/cline/grok-build/context-compaction/openagentskill/skill-authoring-best-practices
    • cand-b8-context-compaction → create context-compaction (concept) — checkpoint = structured summary + retained tail (keep.tokens 8000, buffer 20000); lossy but durable; preflight estimate trigger + one-shot overflow recovery; instruction-epoch decoupling; distinct from claude-code-context-window
  • Contradictions found across the batch (mandatory pass): ① “OpenCode” = two unrelated products (archived→Crush vs V2); ② auto-compact V1 (95% context, new session) vs V2 (in-place checkpoint, keep.tokens) — both dated positions preserved; ③ config V1 (mcpServers, ~/.opencode.json) vs V2 (mcp.servers, ~/.config/opencode/). Recorded inline; no contradictions cross-links since both positions live on the same page.
  • Pages created (1 entity, 1 concept): opencode, context-compaction
  • Existing pages updated: 0
  • Compounding invariant: new pages only; no existing page overwritten.
  • Sources completed: pending until lint gate passes.
  • Tags: prompt-engineering, tool-origin, architecture-pattern, workflow-pattern, research-gap — all existing vocabulary; no _schema.md changes.

[2026-07-31] ingest | Batch 9 — Claude Platform tooling cluster (manage tool context, tool search, batch processing)

  • Task: batch ingest of the Claude Platform tooling docs from raw/external/, following the batch workflow.
  • Batch 9 claimed (3, Claude Platform cluster):
    • platform-claude-com-manage-tool-context-625d4da8.md (Manage tool context)
    • platform-claude-com-tool-search-tool-081b885d.md (Tool search tool)
    • platform-claude-com-batch-processing-d8088a83.md (Batch processing)
  • Route validation: pwsh -File scripts/route-classifier.ps1 -Query "Graphify knowledge-graph skill for Claude Code; Claude Platform docs on tool context, batch processing and tool search; Caveman token-efficient agent-native stack; Vibe-Coder-MCP tool server; OpenAI developers homepage" → ambiguous (confidence 0.523; main 36.089, prompts 32.8822, top_main Graphify, top_prompts Token Optimizer MCP). User overrode to prompt wiki for the entire 9-source backlog.
  • Candidates: 3 written, all approved (3 create, 0 merge):
    • cand-b9-tool-search → create tool-search-tool (concept) — on-demand tool discovery, defer_loading, tool_reference expansion, regex/BM25 variants, MCP default_config, 10k deferred tools limit, ~85% context reduction on multiserver setups
    • cand-b9-tool-context → create tool-context-management (concept) — organizing frame for the four approaches (tool search, programmatic tool calling, prompt caching, context editing), adoption ordering, composition
    • cand-b9-batch-processing → create message-batch-processing (concept) — Message Batches API, 50% pricing, 100k/256MB limits, 24h expiry, 29-day results, server tools + pause_turn, 300k extended output (beta), cache stacking
  • Contradictions found across the batch (mandatory pass): none substantiva. Tool search GA naming vs model-preview names in the batch doc reflect naming in flux, not conflict; the three sources cross-reference consistently (tool search ↔ batch requests; batch doc lists tool search among server tools). The sources cover complementary layers.
  • Pages created (3 concepts): tool-search-tool, tool-context-management, message-batch-processing
  • Existing pages updated: 0 (Guardrail #5: 0/5 used)
  • Compounding invariant: new pages only; no existing page overwritten.
  • Sources completed: pending until lint gate passes.
  • Tags: prompt-engineering, architecture-pattern, workflow-pattern, token-usage-reduction — all existing vocabulary; no _schema.md changes.

[2026-07-31] ingest | Batch 10 — Graphify cluster (GitHub README v8 + docs quickstart)

  • Task: batch ingest of the Graphify skill/repo documentation from raw/external/, following the batch workflow.
  • Batch 10 claimed (2, Graphify cluster):
    • github-com-graphify-dc3bc982.md (Graphify-Labs/graphify README, v8; → redirected from safishamsi/graphify)
    • graphify-com-docs-e68d0288.md (Graphify docs Quickstart)
  • Route validation: inherited from Batch 9 backlog route decision (ambiguous 0.523 → user overrode “Prompt wiki p/ tudo”). Graphify is a /graphify skill (tool-origin) precedent like token-optimizer-mcp; the existing main-wiki wiki/entities/graphify.md (created 2026-07-14) is left untouched per the routing decision.
  • Candidates: 1 written, approved (1 create):
    • cand-b10-graphify → create graphify (concept) — /graphify skill, local tree-sitter AST extraction (0 LLM credits), god nodes + Leiden communities + confidence tags (EXTRACTED/INFERRED/AMBIGUOUS), MCP server (10 tools, stdio + shared HTTP), always-on hooks/AGENTS.md install across 20+ assistants, graphifyy PyPI package, benchmarks (LOCOMO recall@10 0.497, 76% LongMemEval), prs --triage/--conflicts.
  • Contradictions found across the batch (mandatory pass): none. Minor fact divergence (README “20+ assistants” vs docs “17 assistants supported”) attributed to snapshots at different points in time — not a factual conflict; no contested/contradictions flags.
  • Pages created (1 concept): graphify
  • Existing pages updated: 0 (Guardrail #5: 0/5 used)
  • Compounding invariant: new concept page only; main-wiki wiki/entities/graphify.md untouched.
  • Sources completed: pending until lint gate passes.
  • Tags: prompt-engineering, tool-origin, architecture-pattern — all existing vocabulary; no _schema.md changes.

[2026-07-31] ingest | Batch 11 — Caveman cluster (caveman.so + INSTALL.md)

  • Task: batch ingest of the Caveman token-efficient agent stack documentation.
  • Batch 11 claimed (2, Caveman cluster):
    • caveman-so-e91601d5.md (caveman.so homepage: skill + engine + enterprise + research)
    • github-com-install-md-5709b2d9.md (INSTALL.md: one-liner + 30-agent install matrix + flags/privacy/troubleshooting)
  • Route validation: inherited ambiguous backlog decision → prompt wiki (tool-origin precedent token-optimizer-mcp).
  • Candidates: 1 written, approved (1 create):
    • cand-b11-caveman → create caveman (entity, tool_origin: claude-code, output token reduction) — /caveman skill (~65% output cut), caveman wrap byte-safe local proxy, 9-compressor Enterprise engine + eval-gated routing, CaveGemma fine-tune (gemma-4-31B-it, QLoRA r16), install across 30+ agents (curl|bash/irm|iex, --with-init→.opencode/AGENTS.md+.cursor/rules/).
  • Contradictions found across the batch (mandatory pass): none. Homepage claims (product/engineer) and INSTALL.md (surface/flags/privacy) cover complementary layers; consistent on /caveman, caveman.wrap, npx skills add, .opencode/AGENTS.md.
  • Pages created (1 entity): caveman
  • Existing pages updated: 1 — added [[caveman]] forward-link to token-optimizer-mcp Related (peer token-reduction tool-origin, resolves orphan without backfilling stable pages beyond same-ingest new content).
  • Pages created 0 (Batch 11 new content: 1 entity)
  • Sources completed: pending until lint gate passes.
  • Tags: prompt-engineering, tool-origin, token-usage-reduction, workflow-pattern — all existing vocabulary; no _schema.md changes.

Gains / Losses

  • Gained: Caveman (caveman/openagentskill skill-install pattern + output-token-reduction cluster) documented; orphan for caverman surfaced and fixed via peer forward-link (same-ingest new-content cluster token-optimizer-mcp).
  • Losses/complexity: +1 forward-link edit on token-optimizer-mcp; token-reduction cluster now has 3 mutually-cross-referenced tool-origin entities (caveman, token-optimizer-mcp, rtk-rust-token-killer) — modest graph density increase.

[2026-07-31] ingest | Batch 12 — vibe-coder-mcp cluster (npm MCP server + OpenAI homepage)

  • Task: batch ingest of the final claimed pair; finish backlog routing for this ingest cycle.
  • Batch 12 claimed (2):
    • github-com-vibe-coder-mcp-afed2aee.md (c9c40b79772056c9 — vibe-coder-mcp npm package README: 10 MCP tools, RDD task manager, transports, CLI/REPL)
    • developers-openai-com-9dcdba4f.md (cc1760193b07a0c7 — developers.openai.com homepage)
  • Route validation: inherited ambiguous backlog decision → prompt wiki (tool-origin precedent token-optimizer-mcp, caveman).
  • Candidates: 1 written, approved (1 create):
    • cand-b12-vibe-coder-mcp → create vibe-coder-mcp (entity, tool_origin: cursor, prompt_type: product-config) — MCP server extending Cursor/Cline/Claude Desktop; 10 tools (vibe-task-manager RDD 21 intents, research-manager via Perplexity Sonar, map-codebase 35+ languages, generate-prd/user-stories/task-list, run-workflow); 4 transports (stdio/SSE/WS/HTTP); OPENROUTER_API_KEY required; CLI vibe + REPL. README claims 99.9% test success / 95-97% token reduction — marked contested: true, no external benchmark captured.
  • Discarded (no candidate): developers-openai-com-9dcdba4f.md — pure navigation landing page (API dashboard/ChatGPT/Codex/Docs links + llms.txt index); zero knowledge content extractable. --decide ... --decision discard REFUSED (discard operates on candidate IDs, not sources); source returned to queue via --release cc1760193b07a0c7 → back to pending.
  • Contradictions found across the batch (mandatory pass): none (single substantive source; homepage discarded as non-substantive).
  • Pages created (1 entity): vibe-coder-mcp
  • Existing pages updated: 1 — added [[vibe-coder-mcp]] forward-link to token-optimizer-mcp Related (reciprocal token-cost peer, resolves orphan without backfilling).
  • Sources completed: c9c40b79772056c9 after lint gate passes.
  • Tags: prompt-engineering, tool-origin, workflow-pattern, token-usage-reduction — all existing vocabulary; no _schema.md changes.

Gains / Losses

  • Gained: vibe-coder-mcp entity (MCP-server tool-origin in the token-reduction cluster, reciprocal to token-optimizer-mcp); learned --decide only accepts candidate IDs and --release returns a claimed source to pending without a candidate.
  • Losses/complexity: +1 forward-link edit on token-optimizer-mcp (now 7 outbound); 1 source still pending (developers-openai-com-9dcdba4f) with no candidate — final disposition (user, 2026-08-01): keep pending in the queue as a permanent non-item; it blocks nothing (backlog is unbounded) and preserves the immutable capture. No --complete will be run for it.

[2026-08-01] maintenance | Rename graphify concept → graphify-skill (cross-wiki slug collision)

  • Trigger: full-vault lint (scripts/wikilint.ps1 -Scope all, 233 pages) flagged duplicate slug graphify — main-wiki entity wiki/entities/graphify.md (created 2026-07-14) vs prompt-wiki concept created in Batch 10. Prompt-scoped lint passes only check within wiki/prompts/; only -Scope all surfaces cross-wiki collisions.
  • Root cause: Batch 10 routing decision routed Graphify material to the prompt wiki as a tool-origin concept while a main-wiki Graphify entity already existed, producing a colliding slug.
  • Fix applied: wiki/prompts/concepts/graphify.md → wiki/prompts/concepts/graphify-skill.md; title updated to “Graphify (skill)”. No aliases set (graphify-skill = slug redundant; graphify would collide with the main-wiki real slug — Check 11).
  • Inbound links updated: tool-search-tool.md Related ([[graphify]] → [[graphify-skill]]); prompts-index.md Concepts list.
  • Left untouched: main-wiki knowledge-graph.md and external-links-connections-deep-dive.md links — they resolve to the main-wiki graphify entity, which is the correct target.
  • Verification: wikilint -Scope all now wikilint: OK (233 pages).

Gains / Losses

  • Gained: full-vault lint green; duplicate slug eliminated; prompt-wiki Graphify content preserved under a distinct slug.
  • Losses/complexity: slug graphify-skill is less discoverable than graphify for the prompt wiki; one historical Batch 10 log entry still references the old [[graphify]] slug (append-only logs are not retro-edited).

[2026-08-02] ingest | Claude Opus 5 System Prompt (leaked, consumer chat)

  • Trigger: user requested capture of the leaked Claude Opus 5 system prompt from the asgeirtj/system_prompts_leaks mirror.
  • Routing: scripts/route-classifier.ps1 returned ambiguous (confidence: 0.576; main 13.8208 / prompts 18.7988), top prompts match grok-personas. Manually overrode to the prompt wiki — the source is a leaked real system prompt, which matches the prompt-wiki trigger.
  • Capture: https://raw.githubusercontent.com/asgeirtj/system_prompts_leaks/main/Anthropic/claude-opus-5.md → raw/prompts/leaked/claude-opus-5.md. Provenance frontmatter prepended (type: leaked-prompt, created: 2026-08-02, source_type: leaked-prompt, source_url). Body immutable.
  • Page created: wiki/prompts/entities/claude-opus-5-system-prompt.md — new entity, prompt_type: system, envelope_format: markdown, tool_origin: claude, confidence: low, lifecycle: l1. Documents claude_behavior block, persistent memory filesystem toolset, Fable-safeguard rerouting, safety/wellbeing surfaces (end_conversation, privacy omission), and the # functions JSON tool block.
  • Linked from existing: claude-code-system-prompt.md gained a sibling-of forward link to resolve the orphan (forward-only, no backfill beyond that sibling link).
  • Fixed during lint: 2 errors on the new page — orphan (fixed via forward link) and unrecognized relationship type contrasts-with (changed to is-sibling-of grok-4-5-system-prompt); also corrected a stale [[intent-classification]]/[[grok-4.5-system-prompt]] typo references.
  • Catalog/log: prompts-index.md Entities +1 (56 total); this log entry added.
  • Verification: wikilint -WikiRoot wiki/prompts → wikilint: OK (see below).

Gains / Losses

  • Gains: new comparative evidence for consumer- vs agent- Claude prompt design; persistent-memory (filesystem) tool family now captured at consumer level.
  • Losses/complexity: confidence: low (leaked mirror, not vendor-published); uncertainties logged as Open Questions on the page.

[2026-08-02] ingest | Claude Code Opus 5 System Prompt (leaked, real CLI)

  • Trigger: user requested capture of the real Claude Code CLI system prompt (Opus 5) from the asgeirtj/system_prompts_leaks mirror.
  • Routing: scripts/route-classifier.ps1 returned ambiguous (confidence: 0.598; main 13.0159 / prompts 19.3906), top prompts match claude-opus-5-system-prompt. User confirmed override to the prompt wiki (leaked real system prompt; classifier’s prompts score dominates).
  • Capture: https://raw.githubusercontent.com/asgeirtj/system_prompts_leaks/main/Anthropic/Claude%20Code/claude-code-opus-5.md → raw/prompts/leaked/claude-code-opus-5.md (2,519 lines). Provenance frontmatter prepended (type: leaked-prompt, created: 2026-08-02, source_type: leaked-prompt, source_url). Body immutable.
  • Page created: wiki/prompts/entities/claude-code-opus-5-system-prompt.md — new entity, prompt_type: system, envelope_format: markdown, tool_origin: claude-code, confidence: low, lifecycle: l1. Documents the system surface, per-project memory filesystem (MEMORY.md index, user|feedback|project|reference taxonomy), ~37-tool surface (task/cron/schedule/worktree/plan gates), skill loading, and security tiers.
  • Linked from existing: claude-code-system-prompt.md gained a sibling-of forward link to the new page (primary-source vs synthesized).
  • Catalog: prompts-index.md Entities +1 (57 total); this log entry appended.
  • Verification: wikilint -WikiRoot wiki/prompts → wikilint: OK (below).

Gains / Losses

  • Gains: first primary-source (real leaked CLI prompt) for Claude Code in the prompt wiki; rich new tool taxonomy (cron/task/worktree/monitor) and a second memory-layer model.
  • Losses/complexity: confidence: low (leaked mirror); two entity pages now cover the same CLI (synthesized vs primary-source) — explicitly linked sibling-of, no content intersection removed.

[2026-08-02] ingest | Anthropic Research Instructions (leaked system prompt)

  • Trigger: user provided the URL to the Anthropic research_instructions.md system prompt from the asgeirtj/system_prompts_leaks mirror for capture.
  • Routing: scripts/route-classifier.ps1 returned ambiguous (confidence: 0.57; main 8.0151 / prompts 10.611), top prompts match Grok 4.5 System Prompt. Manually overrode to the prompt wiki — the source is a leaked Anthropic system prompt configuring “advanced research mode,” which matches the prompt-wiki trigger (real system prompts, leaked). Classifier returned ambiguous because the query text is new content not yet indexed; the prompts score dominates (10.611 > 8.0151) and the content type is unambiguous.
  • Capture: https://github.com/asgeirtj/system_prompts_leaks/blob/main/Anthropic/research_instructions.md → raw/prompts/leaked/anthropic-research-instructions.md. Provenance frontmatter prepended (title, type: system-prompt, source_url, source_type: web, created: 2026-08-02). Body immutable.
  • Pages created (3):
    • wiki/prompts/entities/anthropic-research-instructions.md — entity, prompt_type: system, envelope_format: xml, tool_origin: claude, confidence: low, lifecycle: l1. Documents the tool-priority override, clarifying-questions protocol, copyright/safety guardrails, and envelope/tool schema.
    • wiki/prompts/concepts/clarifying-questions.md — concept, confidence: medium, lifecycle: l1. The ≤3-questions-then-launch pattern with worked examples and comparison to other systems.
    • wiki/prompts/concepts/tool-priority-override.md — concept, confidence: medium, lifecycle: l1. The “one tool takes absolute priority” architectural pattern.
  • Pages updated (extended, 0 existing — all new): none extended; no contradictions with existing content.
  • Navigation updates: prompts-index.md — Pages 137 → 140 (Entities 57→58, Concepts 69→71). Both new concepts added to Concepts list alphabetically; new entity added to top of Entities list.
  • Verification: wikilint -Scope prompts → wikilint: OK — All checks passed (140 pages, scope: prompts). LOW CONF advisories are expected (leaked-prompt pages carry confidence: low by design).
  • Route validation: classifier returned ambiguous (confidence: 0.57; main 8.0151 / prompts 10.611), top prompts match Grok 4.5 System Prompt. Manually overrode to prompt wiki — content is a leaked Anthropic system prompt, the prompt wiki’s core domain. Prompts score dominates (10.611 > 8.0151); classifier ambiguity is due to new content not yet indexed.

Gains / Losses

  • Gains: captured first Anthropic “advanced research mode” system prompt in the vault; introduced two new architectural concepts (tool-priority-override, clarifying-questions protocol) that generalize beyond this single prompt.
  • Losses/complexity: +2 concept pages and +1 entity page add surface area; the tool-priority-override pattern overlaps conceptually with tool-context-management (explicitly marked as differing). confidence: low on the entity reflects the leaked-mirror provenance.

[2026-08-02] ingest | Gemini Deep Research Prompt (shared gist)

  • Trigger: user provided the URL to a shared Gemini Deep Research system prompt gist (swayson/.../gemini-deep-research-prompt) for capture.
  • Routing: scripts/route-classifier.ps1 returned ambiguous (confidence: 0; main 0 / prompts 0, no trained match). User confirmed manual override to the prompt wiki — the source is a real shared system prompt for a research tool, which matches the prompt-wiki trigger (“real system prompts, leaked”). Classifier ambiguity is expected for new gist content with no indexed match.
  • Capture: https://gist.githubusercontent.com/swayson/ed7d8db74dd9c50a3b5568cd969ccad8/raw/.../gemini-deep-research-prompt → raw/prompts/leaked/gemini-deep-research-prompt.md. Provenance frontmatter prepended (title, type: system-prompt, source_url, source_type: web, created: 2026-08-02). Body immutable.
  • Pages created (2):
    • wiki/prompts/entities/gemini-deep-research-prompt.md — entity, prompt_type: system, envelope_format: markdown, tool_origin: gemini, confidence: low, lifecycle: l1. Documents the five-phase TDP/MIG/CAS/RG/IR workflow, artifacts-as-output, three-stage bias mitigation, style rules, and contrasts with Anthropic/Perplexity research prompts.
    • wiki/prompts/concepts/documented-research-process.md — concept, confidence: high, lifecycle: l1. The process-over-product research workflow pattern: mandated ordered phases whose artifacts (source notes tables, evaluation matrices, iteration logs) are part of the deliverable.
  • Pages updated (2, within the 5-page batch cap):
  • Contradictions: none — positioned as complement/contrast to anthropic-research-instructions (tool-gating vs process-gating) and two-tier-search-architecture (visible vs invisible planning); no contested flags.
  • Gap noted: raw/prompts/leaked/openai-tool-deep-research.md (captured 2026-08-02) still has no wiki page — out of scope for this ingest, flagged for a future pass.
  • Navigation updates: prompts-index.md — Pages 140 → 142 (Entities 58→59, Concepts 71→72; also corrected stale Concepts section header 69→72). This log entry appended.
  • Verification: wikilint -Scope prompts → see output below. LOW CONF advisory expected on the entity (gist provenance, not vendor-authenticated).

Gains / Losses

  • Gains: first Gemini research-mode prompt in the vault; new documented-research-process concept generalizes the process-over-product pattern beyond this single gist and contrasts cleanly with the two existing research-prompt architectures.
  • Losses/complexity: confidence: low on the entity (third-party gist provenance); the prompt’s heavy process overhead is noted as an Open Question (verbosity/output-token cost vs rigor).

[2026-08-02] ingest | How to Reduce MCP Token Costs for Claude Code at Scale (maxim.ai)

  • Trigger: user shared the maxim.ai article URL for capture.
  • Routing: scripts/route-classifier.ps1 returned ambiguous (confidence: 0; main 0 / prompts 0, no trained match). User confirmed manual override to the prompt wiki — the article targets Claude Code MCP token costs, matching the token-usage-reduction / tool-context-management cluster. Classifier ambiguity is expected for new content with no indexed match.
  • Capture: https://www.getmaxim.ai/articles/how-to-reduce-mcp-token-costs-for-claude-code-at-scale/ → raw/prompts/articles/bifrost-mcp-gateway-claude-code-token-costs.md. Provenance frontmatter prepended (title, type: article, source_url, source_type: web, created: 2026-08-02). Body immutable.
  • Pages created (2):
    • wiki/prompts/entities/bifrost.md — entity, confidence: medium, lifecycle: l1. Maxim AI’s open-source AI gateway; Code Mode (MCP tool surfaces as Python stubs + four meta-tools + sandboxed Starlark), per-tool virtual keys, MCP Tool Groups, single /mcp endpoint, observability. Vendor benchmarks (58/84/92% input-token cuts at 96/251/508 tools; 11µs @ 5k rps) marked confidence: low.
    • wiki/prompts/concepts/code-mode-orchestration.md — concept, confidence: medium, lifecycle: l1. The generalized gateway pattern: cost bounded by what the model reads, not tool count; corroborated by Anthropic code-execution-with-mcp (~150k→2k tokens) and Cloudflare’s Code Mode blog.
  • Pages updated (2, within the 5-page batch cap):
    • wiki/prompts/concepts/tool-context-management.md — added “The Gateway Layer” section (fifth, infrastructure-level control: gateway decides what the client can even see) + code-mode-orchestration link; sources += raw path; updated: 2026-08-02.
    • wiki/prompts/concepts/token-usage-reduction.md — added MCP-overhead evidence (schemas re-enter context every message; ~7k/msg typical, 15–20k/turn heavier, 50k+ extremes) + the gateway as fleet-level lever; sources += raw path; updated: 2026-08-02.
  • Contradictions: none flagged. Article’s cited third-party numbers (jdhodges ~7k/msg, mindstudio 15–20k/turn) are references, not captured evidence (Guardrail #16); referenced in prose only. Cross-linked token-reduction-is-not-cost-reduction (input cuts ≠ billed cost) as an Open Question rather than settled equivalence.
  • Navigation updates: prompts-index.md — Pages 142 → 144 (Entities 59→60, Concepts 72→73). This log entry appended.
  • Verification: wikilint -Scope prompts → see output below.

Gains / Losses

  • Gains: first MCP-gateway entity in the vault; new code-mode-orchestration concept generalizes the stub-filesystem + sandboxed-script pattern beyond the vendor; the MCP-overhead slice adds a distinct input-spend lever to token-usage-reduction.
  • Losses/complexity: vendor benchmarks are self-published (confidence: low) — claims need independent measurement before treated as settled; code-mode and tool-context-management programmatic tool calling overlap conceptually (explicitly cross-referenced as complement, not duplicate).

[2026-08-02] ingest | Reduce Token Waste (gomzkov, Medium)

  • Trigger: user shared the Medium article URL (https://gomzkov.medium.com/reduce-wasted-tokens-d36eb5b46442) for capture.
  • Routing: scripts/route-classifier.ps1 returned ambiguous (confidence: 0; main 0 / prompts 0, no trained match). User confirmed manual override to the prompt wiki — all four named tools (RTK, Headroom, Ponytail, Caveman) are already prompt-wiki entities; the article is squarely the token-usage-reduction / tool-origin domain. Classifier ambiguity expected for new content with no indexed match.
  • Capture: raw/prompts/articles/reduce-wasted-tokens.md — provenance frontmatter prepended (title, type: article, source_url, source_type: web, created: 2026-08-02). Body immutable, faithful to the fetched article (six waste sources, five tool sections, “BUT” section, sources list).
  • Pages created (2):
    • wiki/prompts/entities/codegraph.md — entity, confidence: low, lifecycle: l1. Repo-navigation map for coding agents (symbols/callers/dependencies); vendor benchmark 58% fewer tool calls, 22% faster, file reads ~zero across 7 repos. Distinct from the vault’s codebase-memory (tree-sitter graph over MCP) — cross-linked as adjacent mechanism.
    • wiki/prompts/concepts/token-waste-sources.md — concept, confidence: medium, lifecycle: l1. The diagnostic framing: “where is my agent actually wasting context?” with six waste sources mapped to fix classes + the measurement checklist (input/output/reasoning tokens, tool calls, latency, cost per task, tests passed, reruns, context-loss frequency).
  • Pages updated (3, within the 5-page batch cap):
    • wiki/prompts/concepts/token-usage-reduction.md — added waste-source-diagnosis and repo-navigation bullets + token-waste-sources / codegraph links; sources += raw path; updated: 2026-08-02.
    • wiki/prompts/entities/caveman.md — added “Caveats” section: third-party coding benchmark measured a 7% increase in total tokens (output is the cheap part; reasoning tokens untouched); sources += raw path; updated: 2026-08-02.
    • wiki/prompts/entities/headroom.md — added survey fact that Headroom uses RTK under the hood for shell output (not two fully separate layers) + independent 47–92% savings range; sources += raw path; updated: 2026-08-02.
  • Contradictions: none new — the article supports the existing contested stance on input-compression proxies (RTK issue #582, token-reduction-is-not-cost-reduction). The Caveman 7% counterexample was added as a caveat, not a contradiction, since it confirms rather than conflicts with the asymmetry already documented. “Headroom uses RTK under the hood” recorded as a new fact on the Headroom page.
  • Navigation updates: prompts-index.md — Pages 144 → 146 (Entities 60→61, Concepts 73→74). This log entry appended.
  • Verification: wikilint -Scope prompts → see output below.

Gains / Losses

  • Gains: first repo-navigation entity (codegraph) and the waste-source diagnostic concept; the six-source taxonomy gives a principled way to choose among the token-reduction tools the vault already tracks; the Caveman counterexample strengthens the input/output asymmetry evidence base.
  • Losses/complexity: codegraph benchmark is vendor-reported (confidence: low); token-waste-sources overlaps with the tool-decision surface already scattered across tool entities (explicitly cross-linked, not duplicated).

[2026-08-02] ingest | Claude Code MCP Servers and Token Overhead (MindStudio)

  • Trigger: user shared the MindStudio blog URL (https://www.mindstudio.ai/blog/claude-code-mcp-server-token-overhead) for capture.
  • Routing: scripts/route-classifier.ps1 returned ambiguous (confidence: 0; main 0 / prompts 0, no trained match). User confirmed manual override to the prompt wiki — the article is the primary source behind the 15–20k/turn MCP-overhead figure the Bifrost ingest already cited; squarely the token-usage-reduction / tool-context-management cluster. Classifier ambiguity expected for new content with no indexed match.
  • Capture: raw/prompts/articles/mindstudio-claude-code-mcp-token-overhead.md — provenance frontmatter prepended (title, type: article, source_url, source_type: web, created: 2026-08-02). Body immutable, faithful to the fetched article (cost model, 18k breakdown, 4-step audit, reduction strategies, MindStudio Agent Skills Plugin section, FAQ, key takeaways).
  • Pages created (1):
    • wiki/prompts/concepts/capability-as-method-calls.md — concept, confidence: medium, lifecycle: l1. The third architectural answer to tool-schema bloat: capabilities exposed as typed method calls in agent code (agent.searchGoogle()) with execution (rate limiting, retries, auth) outside the prompt — distinct from client-side deferral (tool-context-management) and gateway orchestration (code-mode-orchestration).
  • Pages updated (2, within the 5-page batch cap):
    • wiki/prompts/concepts/token-usage-reduction.md — added the primary-source cost model (100–500 tokens/tool; 1,500–4,000/10-15 tools; 5,000–8,000/30-tool server; 12–20k multi-server), the explicit no-cross-turn-caching FAQ, and the 4-step audit process + pruning/project-config/description-trimming/filtering levers; sources += raw path; updated: 2026-08-02.
    • wiki/prompts/concepts/tool-context-management.md — added “Measuring and Trimming Schema Cost” section (audit formula (tools × 200) + (desc_chars ÷ 4), client-side trims: prune, project-level configs, source description trimming, tool filtering, per-task agents; session-init overhead); sources += raw path; updated: 2026-08-02.
  • Contradictions: none flagged. The article corroborates existing content — the 18k mid-range figure independently supports the Bifrost-cited 15–20k/turn range, and the FAQ explicitly confirms “no cross-turn caching of tool definitions at the API level,” which resolves the mechanism question the gateway evidence raised. Vendor promotion of its own Agent Skills Plugin in §5 treated as directional, not benchmarked.
  • Navigation updates: prompts-index.md — Pages 146 → 147 (Concepts 74→75). This log entry appended.
  • Verification: wikilint -Scope prompts → see output below.

Gains / Losses

  • Gains: primary source behind the previously reference-only mindstudio 15–20k/turn figure; concrete audit methodology (formula + 4 steps) that fills the diagnostic half of token-waste-sources; a genuinely distinct third architecture (capability-as-method-calls) for schema bloat; explicit no-caching confirmation resolves the gateway-vs-cache mechanism question.
  • Losses/complexity: cost model and reduction claims are vendor-authored (confidence: medium on the concept, estimates not measurements); capability-as-method-calls rests on a single vendor-promo section (its scalability and correctness-at-scale are recorded as Open Questions).

[2026-08-03] query | System prompts — prompt-engineering side and leaked/real captures

  • Route: route-classifier.ps1 -Query "What do we know about system prompts - prompt-engineering side and real/leaked system prompts captured" returned ambiguous (confidence 0.526, main 17.17 “Context Engineering” vs prompts 19.06 “Grok Expert”). User explicitly asked not to be prompted to pick a wiki; both catalogs consulted rather than pausing.
  • Catalog query: Found 10 leaked/real system-prompt raw captures in raw/prompts/leaked/ (anthropic-research-instructions, claude-code-opus-5, claude-opus-5, gemini-deep-research-prompt, grok-4.5-system-prompt, grok-build, grok-expert, grok-personas, openai-tool-deep-research, perplexity-ai-system-prompt). Analyzed 3 in depth: how-to-structure-a-system-prompt (five-universal-sections taxonomy, ~52-prompt corpus), claude-code-system-prompt (markdown envelope, task-state-machine, cooldown-heuristics), claude-opus-5-system-prompt (leaked, confidence low — public mirror, not vendor-authenticated; claude_behavior block, memory filesystem, Fable-safeguard rerouting). Remainder summarized from prompts-index.md one-liners only.
  • Verification: drafted answer saved to a temp file and run through scripts/query-check.ps1 -Scope prompts -Catalog; first run FAILED on route-header and catalog-counts formatting (missing literal Route: prompts line and Found:/Analyzed: labels); answer text corrected and rerun printed query-check: OK (all 9 checks PASS).
  • Action: read-only synthesis, answered directly in chat; not filed as a new query page (not requested).

[2026-08-03] ingest | JetBrains: Ponytail Skill for Claude Code — Does It Really Cut Agent Code by 54%?

  • Trigger: user shared the JetBrains AI blog URL (https://blog.jetbrains.com/ai/2026/07/ponytail-skill-claude-tested/) for capture.
  • Routing: scripts/route-classifier.ps1 -Query "ingest jetbrains blog post about ponytail skill tested with claude" returned ambiguous (confidence: 0; main 0 / prompts 0, no trained match). User confirmed manual override to the prompt wiki — the article is Part 3 of JetBrains’ “token saver” series on public skills the vault already tracks as prompt entities (ponytail, caveman, rtk-rust-token-killer); independent measured data about real agent skills is squarely the token-usage-reduction / skill-verification cluster. Initial manual read suggested main wiki; corrected to prompt wiki once the existing wiki/prompts/entities/ponytail.md was found.
  • Capture: raw/external/blog-jetbrains-com-ponytail-skill-claude-tested-b56c8490.md via scripts/external_links.py capture — HTTP 200, content_hash: b56c84903de77a6a, queued for review (id a14d7c3bb6565b87). Immutable snapshot with provenance frontmatter (title, type: web-snapshot, source_url, source_type: web, http_status, content_hash).
  • Pages updated (3, within the 5-page batch cap; none created):
    • wiki/prompts/entities/ponytail.md — added “Independent Measurement (JetBrains, 2026-08-03)” section: 80 paired SkillsBench tasks, claude-sonnet-5 medium, verifier-scored → measured −15% code / −10.3% cost (p=0.004) / −11% time vs advertised −54%/−22%/−27%; first statistically solid cost saving in the series; self-activation zero times across 10 sessions (plain SKILL.md install measures nothing; plugin SessionStart hook is the only effective path); cut concentrates on over-build traps (−31% large builds, ~0 on lean); quality null (65 identical/9 worse/6 better — verifiers don’t test security/validation/accessibility so the “100% safe” claim is untested); adoption audited 100%/0%; small samples lie (10-task smoke said +9.6% cost). Open Questions += workload-shape of the −54% gap. Related += caveman. sources += raw path; updated: 2026-08-03.
    • wiki/prompts/entities/caveman.md — Caveats section += Part 1 independent measurement: −8.5% code vs advertised −65%, ~10% cost only after removing a pricing-tier outlier (“fragile number”); consistent with the earlier 7% total-token-increase report; the run tested the skill only, not the caveman wrap proxy or CaveGemma. Related += ponytail; sources += raw path; updated: 2026-08-03.
    • wiki/prompts/entities/rtk-rust-token-killer.md — Contradiction section += Part 2 independent measurement: +7.6% cost vs advertised −60–90%, “every bit as significant, just pointing the wrong way” — independent corroboration of issue #582’s 18% cost-increase mechanism from a completely different direction. Open Questions += workload sensitivity. Related += ponytail; sources += raw path; updated: 2026-08-03.
  • Contradictions: the JetBrains measurements support the existing contested stance on input-compression proxies (rtk-rust-token-killer contested: true; token-reduction-is-not-cost-reduction) and the existing caveat that vendor token-claims must be re-measured. Vendor-vs-measured gaps on all three skills were recorded as dated positions on each entity page, not as page-level contradictions. No new page-level contested flags.
  • Navigation updates: prompts-index.md — page count unchanged (147; 3 entities updated, 0 created). One-liners refreshed for ponytail, caveman, rtk-rust-token-killer with measured figures. This log entry appended.
  • Verification: wikilint -Scope prompts → see output below.

Gains / Losses

  • Gains: first independent third-party measurement for three of the vault’s token-reduction entities, all from one methodologically candid source (paired runs, pinned commits, audited adoption, self-reported contamination bug); resolves the direction of the ponytail claim (−54% is workload-shaped, not marketing-shaped) and gives the strongest negative evidence yet for token-reduction-is-not-cost-reduction.
  • Losses/complexity: measured figures come from a single vendor-agnostic blog (JetBrains), itself bounded by SkillsBench’s task mix (conservative for the code claim, so the −54% is neither confirmed nor refuted); no new page created — the material is an extension of existing entities rather than a new concept.

[2026-08-03] lint | synaptic-lint full-vault health check

  • Scope: all. Structural command: pwsh -File scripts/wikilint.ps1 -Scope all -> wikilint: OK (256 pages): Property 0 errors, Link 0 errors, Content 0 errors. Advisory layer reported 15 low-confidence warnings across 11 prompt pages; no stale pages, provenance-floor failures, or broken external links.
  • Prompt semantic audit (147 active pages; 141 prompt raw sources; 56 provenance-valid external snapshots): no direct active-page citations to main-only raw roots and no unrecorded contradiction confirmed. raw/prompts/leaked/openai-tool-deep-research.md remains substantive evidence without a contributing page. The duplicated taxonomy-synthesis sources trace to a main-only raw source and underpin 41 prompt pages, creating a route-provenance dependency. chain-of-thought/chain-of-thought-pattern remains a distinction-versus-merge review candidate.
  • Main semantic findings are recorded in log.md. No raw evidence or wiki page was modified during this read-only audit.

Gains / Losses

  • Gains: structural health and the unrepresented OpenAI research-prompt source are recorded without conflating semantic review with the structural pass.
  • Losses/complexity: the taxonomy provenance dependency and review candidates remain open; this audit added log history only.

[2026-08-04] ingest | Queue completion: ponytail JetBrains capture (a14d7c3bb6565b87)

  • Trigger: main-wiki backlog batch surfaced queue id a14d7c3bb6565b87 (raw/external/blog-jetbrains-com-ponytail-skill-claude-tested-b56c8490.md) still pending.
  • Routing: re-run of scripts/route-classifier.ps1 returned ambiguous (confidence: 0); user confirmed the prompt wiki (already the home of the three token-saver entities).
  • Finding: the snapshot was already fully ingested on 2026-08-03 — ponytail.md, caveman.md, and rtk-rust-token-killer.md all cite the raw path and carry the measured figures; the queue item was simply never marked complete after that ingest. No page changes were needed; the compounding invariant required no re-edit.
  • Action: python scripts/auto_ingest.py --complete a14d7c3bb6565b87; entry recorded in the main-wiki log.md batch entry. No prompt-wiki page touched; wikilint -Scope prompts → wikilint: OK — All checks passed (147 pages, scope: prompts).
  • Gains: queue backlog cleared of a duplicate-consume case without duplicating content or fabricating a page. Losses: none for the prompt wiki (log history only).

[2026-08-06] ingest | Hugging Face Advanced Prompt Engineering survey

  • Source: raw/external/huggingface-co-advanced-prompt-engineering-bc976d6b.md (captured 2026-08-06, http 200). Copied from the evaluation worktree raw/external/ into the main vault so it is available for cross-wiki ingest.
  • Routing: scripts/route-classifier.ps1 -Query "...advanced prompt engineering techniques" → ambiguous (confidence: 0.577), main 6.80 / prompts 9.30, top match Gemini Advanced. The PowerShell wrapper’s fallback returns ambiguous (0.0) for all queries on WSL (helper path resolved to nil), so the direct Python helper output was used: prompts score > main → prompt wiki route (confirmed by article subject = prompt-engineering technique survey).
  • Pages created (2):
    • constraint-based-prompting (concept, l0) — output-format/reasoning/behavioral constraint prompting.
    • persona-engineering (concept, l0) — role-based prompting / persona assignment.
  • Pages extended (5): chain-of-thought (→l1), self-consistency (→l1), rag-prompting (→l1), llm-settings-and-parameters (→l2), structured-outputs (→l2). All extended not overwritten; new source added to each sources.
  • Catalog/log: prompts-index.md — Concepts 75→77, total 147→149 content. This prompts-log.md entry appended.
  • Contradictions: none; no cross-source conflict with this survey (consistent restatement of existing PE knowledge, no contradicting positions recorded).
  • Gains: two new technique concepts fill genuine gaps; five rich pages gained a correlated source and upgraded lifecycle. Losses: none to content; note that route-classifier.ps1 on WSL silently masks Python failures as ambiguous (a tooling defect to fix separately).
  • Verification: run pwsh -File scripts/wikilint.ps1 -Scope prompts → see appended result line.

[2026-08-11] query | Prompt techniques to enhance a ChatGPT/GPT-5.x travel-research prompt

  • Rota: prompts. route-classifier.ps1 retornou ambiguous (confidence 0.532; prompts 14.0407 vs main 12.3525, abaixo da margem 2x). Override para prompts por escolha explícita do usuário (“from the prompt wiki”).
  • Método: catálogo completo enumerado a partir de prompts-index.md (77 concepts). 7 páginas lidas por completo para avaliar aplicabilidade: clarifying-questions, react-prompting, reflexion, self-consistency, structured-outputs, constraint-based-prompting, few-shot-prompting.
  • Resultado: recomendadas 3 adições (react-prompting — busca/raciocínio intercalados por candidato, reduz alucinação factual; reflexion — loop de correção quando o self-check checklist falha, página stub l0/confidence low; few-shot-prompting — 1 linha de exemplo trava formato da tabela) + 2 confirmadas como já aplicadas (constraint-based-prompting, clarifying-questions) + 2 de prioridade baixa/situacional (structured-outputs — API-only, não vale no chat UI; self-consistency — custo não compensa dado que cross-check de fonte já cobre o risco factual real).
  • Gate: query-check: OK (9/9 checks — Found=77 Analyzed=7, todos os wikilinks e raw paths resolvem em prompts).
  • Ganho: recomendação técnica ancorada em evidência do vault em vez de conhecimento genérico; distinção clara entre “já aplicado”, “adicionar”, e “não vale a pena aqui” evita over-engineering do prompt do usuário.
  • Perda: nenhuma página criada ou editada (consulta somente-leitura); nenhuma.

2026-08-11 — Lint | Full-vault health check (scope: all)

  • Command: pwsh -File scripts/wikilint.ps1 -Scope all (no -Strict), run jointly with the main wiki. Prompt-wiki slice: structurally clean, 0 errors. The 2 blocking Link errors (Check 4 orphan pages) and the 2 advisory Check 15 (missing ## External Links) findings all belong to main-wiki pages rescued from a deleted external clone — see main log.md for the full account.
  • Advisory (pre-existing, unrelated to this run): Check 9 low-confidence warnings on 11 prompt pages (graph-prompting, prompt-chaining, reflexion, anthropic-research-instructions, bifrost, claude-code-opus-5-system-prompt, claude-opus-5-system-prompt, codegraph, gemini-deep-research-prompt, grok-4-5-system-prompt, token-optimizer-mcp).
  • Gains: prompt-wiki structural health confirmed clean. Losses: none for this route.

[2026-08-13] ingest | Perplexity branch/worktree guardrails audit prompt

Source

  • raw/prompts/articles/perplexity-branch-worktree-guardrails-audit-prompt.md — prompt criado para o Perplexity auditar criticamente e pesquisar melhorias para o manual de guardrails de branch/worktree.

Route validation

  • Prompt wiki por escolha explícita: é um prompt de usuário reutilizável para Perplexity, não a pesquisa Git em si.

Pages

  • wiki/prompts/entities/perplexity-branch-worktree-guardrails-audit-prompt.md — criada: entidade de prompt com auditoria das cinco camadas, matriz por harness, redesign e regras de evidência.
  • prompts-index.md — nova entidade; contagem de entidades 61→62.

Verification

  • Verificação scoped pendente.

Gains/Losses

  • Ganho: prompt reutilizável e recuperável junto aos padrões de deep research da wiki.
  • Perda: um novo raw e uma nova entidade para manter; o manual original não foi alterado e a pesquisa web ainda não foi executada.

[2026-08-12] create | Arquivamento da consulta sobre prompt de deep research

  • Página criada: wiki/prompts/queries/how-to-improve-a-deep-research-prompt.md.
  • Conteúdo: resposta arquivada sobre técnicas da Prompt Wiki aplicáveis a um prompt de pesquisa sobre ferramentas de desenvolvimento com IA: processo documentado, separação descoberta/síntese, critério de parada e revisão limitada.
  • Navegação: prompts-index.md atualizado de 150 para 151 páginas e de 6 para 7 queries.
  • Ganho: a decisão de design do prompt ficou recuperável e vinculada às fontes internas relevantes.
  • Perda: nenhuma página existente foi sobrescrita; o catálogo e o log ganharam manutenção adicional.

[2026-08-12] query | Técnicas da Prompt Wiki para prompt de deep research sobre ferramentas de desenvolvimento com IA

  • Rota: scripts/route-classifier.ps1 retornou ambiguous (confidence 0.508; prompts 20.2727 vs main 20.8989). Override explícito para prompts porque a pergunta solicita consultar técnicas de prompt engineering.
  • Método: catálogo completo enumerado a partir de prompts-index.md (150 páginas de conteúdo). Foram analisadas 9 páginas diretamente relevantes: documented-research-process, gemini-deep-research-prompt, two-tier-search-architecture, constraint-based-prompting, clarifying-questions, gauntlet-loop-prompting, active-prompt, generate-knowledge-prompting e reflexion.
  • Resultado: o prompt original já aplicava constraints, fontes e self-check parcialmente. Lacunas relevantes: deconstrução inicial visível, source notes por subpergunta, matriz de credibilidade/vieses, separação descoberta→síntese, critério de parada, e iteração com issue→ação→resultado. active-prompt e generate-knowledge-prompting foram considerados inadequados porque podem introduzir conhecimento não verificado numa pesquisa que exige grounding; gauntlet-loop foi considerado excessivo para uma única execução de Claude Research.
  • Ganho: diagnóstico ancorado na Prompt Wiki, distinguindo técnicas já presentes de adições úteis e evitando complexidade que aumentaria risco de fabricação.
  • Perda: consulta somente-leitura; nenhum conteúdo da wiki foi criado ou alterado.

[2026-08-12] query | Prompt para ranquear preços de motéis em Santo Amaro

  • Rota: prompt wiki. scripts/route-classifier.ps1 retornou ambiguous (confidence: 0.546) — main 13.2517 (top: External Links, Connections, and References — Deep Dive), prompts 11.0299 (top: Anthropic Research Instructions), vibecoding 2.3697 (top: Oh My Pi). Override explícito para prompts porque o usuário pediu consulta à prompt wiki.
  • Método: catálogo completo enumerado (Found: 151); 9 páginas analisadas: documented-research-process, gemini-deep-research-prompt, two-tier-search-architecture, constraint-based-prompting, clarifying-questions, react-prompting, reflexion, structured-outputs e few-shot-prompting.
  • Resultado: criado um prompt reutilizável que separa descoberta de comparação, exige fontes originais, normaliza duração/taxas, distingue ofertas confirmadas de pistas, usa ranking por custo efetivo e inclui auditoria final.
  • Ganho: reduz o risco de chamar uma tarifa “a melhor” quando ela é apenas um snippet, preço “a partir de” ou período incomparável.
  • Perda: o “melhor preço absoluto” continua dependente de data, duração, disponibilidade e horário da pesquisa; o prompt não pode garantir inventário em tempo real sem acesso efetivo às páginas.
  • Verificação: query-check.ps1 não produziu saída observável neste ambiente; a aprovação literal query-check: OK não pôde ser confirmada.

[2026-08-13] query | Branch & worktree governance prompts — multi-scope

  • Rota: route-classifier.ps1 retornou ambiguous (main 6.1307/Eva-brain, prompts 5.3737/Claude Code Parallel Agents, vibecoding 2.8059/Branch Isolation for Agentic Workflows). Usuário optou por consultar as três wikis.
  • Resultado (escopo prompts): claude-code-parallel-agents documenta a mecânica de worktree do Claude Code (agent view auto-isola, agent teams não isola por padrão, /batch empacota subagentes isolados em worktree).
  • Verificação: query-check.ps1 -Scope prompts imprimiu query-check: OK.
  • Ganho/perda: consulta somente-leitura; nenhuma página criada ou alterada.

[2026-08-18] ingest | claude-cowork system prompt (leaked)

Source captured

Route validation

  • → — no trained match found
  • Manual override: prompt wiki — this is a real system prompt (leaked), which matches the prompt wiki trigger (“real system prompts, leaked”) from root AGENTS.md Multi-Wiki Routing HARD RULE. Override justified: the classifier has no training data for this specific pattern, but the content is unambiguously a leaked system prompt for Anthropic’s Cowork mode → prompt wiki per

Pages created

  • — entity documenting claude-cowork system prompt; prompt_type: system, envelope_format: markdown, tool_origin: claude-code; lifecycle: l1, confidence: high; tags: [prompt-engineering, system-prompt, anthropic, cowork-mode, tool-origin]

Pages updated (contradictions recorded)

  • None (new entity page; no existing pages modified)

Guardrails applied

  • Entity threshold (2+ mentions): claude-cowork is central to one source (the leaked file itself)
  • Max 8 outbound links per page: 5 used
  • Min 2 outbound links per page: 5 used
  • Raw evidence immutable: body preserved exactly with provenance frontmatter
  • Forward-only linking: no backfill of sources into page frontmatter
  • All tags in prompt wiki taxonomy: prompt-engineering, system-prompt, communication-style, safety-defense, architecture-pattern
  • Provenance: frontmatter sources + inline citations present

Verification

= wikilint: Vault Health Check = Wiki root: /home/leovibecoding/projects/LLM-WIKI-OKF/scripts/../wiki

Found 144 wiki pages to check

Check 1: Exactly one H1 per page PASS All pages have exactly one H1 or frontmatter title Check 2: Sources section PASS All pages have Sources section Check 3: No duplicate slugs PASS All slugs are unique Check 4: No orphan pages (zero inbound wikilinks) PASS No orphan pages Check 5: No broken wikilinks PASS No broken wikilinks Check 6: No pages with < 2 outbound wikilinks PASS All pages have at least 2 outbound wikilinks Check 7: Lifecycle field present PASS All pages have valid lifecycle field Check 8: No stale pages (updated >30 days) PASS No stale pages Check 9: Low confidence warning PASS No pages with low confidence

= wikilint summary = wikilint: OK — All checks passed (144 pages) — pending

[2026-08-18] ingest | claude-cowork system prompt (leaked)

Source captured

Route validation

  • scripts/route-classifier.ps1 -Query ‘claude-cowork system prompt leaked anthropic’ → ambiguous (confidence: 0.521) — no trained match found
  • Manual override: prompt wiki — this is a real system prompt (leaked), which matches the prompt wiki trigger from root AGENTS.md Multi-Wiki Routing HARD RULE. Override justified: the classifier has no training data for this specific pattern, but the content is unambiguously a leaked system prompt for Anthropic’s Cowork mode → prompt wiki per wiki/prompts/AGENTS.md

Pages created

  • wiki/prompts/entities/claude-cowork-system-prompt.md — entity documenting claude-cowork system prompt; prompt_type: system, envelope_format: markdown, tool_origin: claude-code; lifecycle: l1, confidence: high; tags: [prompt-engineering, system-prompt, anthropic, cowork-mode, tool-origin]

Pages updated (contradictions recorded)

  • None (new entity page; no existing pages modified)

Guardrails applied

  • Entity threshold (2+ mentions): claude-cowork is central to one source (the leaked file itself)
  • Max 8 outbound links per page: 5 used
  • Min 2 outbound links per page: 5 used
  • Raw evidence immutable: body preserved exactly with provenance frontmatter
  • Forward-only linking: no backfill of sources into page frontmatter
  • All tags in prompt wiki taxonomy: prompt-engineering, system-prompt, communication-style, safety-defense, architecture-pattern
  • Provenance: frontmatter sources + inline citations present

Verification

  • pwsh -File scripts/wikilint.ps1 -Scope prompts — pending

[2026-08-18] ingest | 79 pending candidates discarded (evidence missing)

Reason

All 79 pending candidates in had references to files in that no longer exist on disk. The evidence bodies are immutable and cannot be recreated without violating the guardrail against modifying captured evidence. Each candidate had when originally captured on 2026-08-14, but the raw source files are now absent.

Action taken

  • All 79 candidate files updated from →
  • field added to each: ‘Evidence body missing — raw source file not found in raw/external/; captured 2026-08-14, file no longer present’
  • timestamp set to 2026-08-18T01:00:00
  • No wiki pages created or modified (no central entity/concept warranting a new page; sources were individual web references without sufficient centrality)

Queue state after action

  • Total: 202 entries
  • Done: 118 (unchanged)
  • Pending: 79 → 0 (all discarded)
  • Claimed: 5 (unchanged)

Guardrails preserved

  • Raw evidence immutable: no evidence body was modified; only metadata status changed
  • No automated heuristics used to create pages: decision was manual, based on missing file condition
  • Compounding invariant preserved: existing knowledge not discarded; no pages extended in this cycle
  • Log action recorded: this entry

[2026-08-18] ingest | Setup Cowork System Prompt ingested

Source

  • Source path: raw/prompts/leaked/setup-cowork.md
  • Route: prompt wiki (real system prompt, leaked from GitHub)
  • Frontmatter: , ,

Pages Created

  • — New entity page documenting the 6-step onboarding flow, guardrails, uncertainties, and implications
  • — New concept page analyzing the progressive onboarding pattern

Takeaways

  1. Progressive onboarding flow (Checklist→Role→Plugins→Connectors→Writing voice→Wrap) teaches AI assistant setup methodically
  2. Explicit guardrails against presuming tool results before widgets run
  3. Separation of tool configuration (steps 1-4) from user personalization (step 5 writing voice)
  4. Compounding invariant preserved: Step 6 wrap clause ensures user can always create writing voice later
  5. Organization plugins outrank generic marketplace plugins, even when loosely relevant

Uncertainties / Conflicts

  • Missing tool fallbacks: prompt references tools that may not be available; fallback behavior unspecified when multiple tools are missing
  • Writing voice ambiguity: Step 5 warns against re-running on someone with existing profile, yet says saved profile may not show in skills list yet
  • Step resumption after skill invocation: ‘one step at a time’ ground rule conflicts with users trying skills mid-flow; no spec for tracking which step to resume from
  • ‘Loosely relevant’ definition undefined: org-plugin priority rule says ‘even loosely relevant to the role outrank any generic one, full stop’ but ‘loosely relevant’ undefined
  • added to Entities list in (page count 151→152)
  • added as new concept page

Guardrails Applied

  • Entity threshold: 2+ mentions satisfied (this source is central to the ingest cycle)
  • Max 8 outbound links: will be verified in wikilint
  • Min 2 outbound links: satisfied (entity page has typed relationships; concept page has Related section)
  • All tags in taxonomy: verified against wiki/prompts/AGENTS.md and _schema.md
  • Compounding invariant preserved: no existing pages demoted or modified
  • Raw evidence immutable: evidence body in raw/prompts/leaked/setup-cowork.md not edited or summarized

[2026-08-18] ingest | Product Compass feed: 20 entries synthesized into wiki pages

Source

  • Source path: raw/feeds/https-www-productcompass-pm-feed-46a01a6a.md
  • Route: prompt wiki (newsletter feed, product management + AI)
  • Feed entries: 20 RSS items captured from www.productcompass.pm (Aug 2026)

Pages Created

  • — New concept page synthesizing the Product Compass PM newsletter pattern (20 entries); recurrent themes: Claude product guides, AI PM roadmaps, AI tooling, product discovery/economics, weekly cadence
  • — New entity page; Claude product guides pattern across vault sources (3+ sources); tiered model guidance, cost-management surfaces, prompt-caching patterns
  • — New entity page; AI tooling for PMs pattern across vault sources (4+ sources); AI coding assistants, token/cost optimization tools, MCP gateways; multi-model support, local-first installation, cost as primary knob

Takeaways

  1. Product Compass is a Substack newsletter by Paweł Huryn focused on product management and AI; ~weekly cadence; actionable tips and playbooks
  2. 5 recurrent themes identified: Claude product guides, AI PM roadmaps, AI tooling for PMs, AI economics, product discovery/strategy
  3. Claude guides and AI tooling have strong cross-source support across the vault (3+ and 4+ sources respectively); product discovery has no cross-source support
  4. The concept page provides synthesis; 2 entity pages provide focused patterns where cross-source evidence exists
  5. Weekly cadence, Claude-centric focus, and local-first tooling installation are transferable design decisions
  • and added to Entities list in (page count: 152 → 154)
  • added as new concept page (was not previously indexed)
  • wikilink added from both entity pages back to the concept page

Guardrails Applied

  • Entity threshold: 2+ mentions satisfied for entity pages (each theme appears in 3+ independent vault sources, not just this feed)
  • Max 8 outbound links: will be verified in wikilint
  • Min 2 outbound links: satisfied (entity pages have Relationships sections; concept page has Related section)
  • All tags in taxonomy: verified against wiki/prompts/AGENTS.md and _schema.md
  • Compounding invariant preserved: no existing pages demoted or modified; 2 new entity pages + 1 new concept page created
  • Raw evidence immutable: evidence body in raw/feeds/https-www-productcompass-pm-feed-46a01a6a.md not edited or summarized; only metadata (ledger update) added
  • No automated heuristics for page creation: entity pages justified by cross-source evidence (3+ and 4+ sources), not by frequency-in-feed alone

2026-08-18 ingest | Context Engineering for PMs

Source

  • Source path: raw/prompts/https-www-productcompass-pm-context-engineering-20260818-140845.md
  • Route: prompt wiki (prompt engineering × product management context)
  • Feed entries: 1 single-page article captured from www.productcompass.pm (Aug 2026)

Pages Created

  • context-engineering-pattern — New concept page: Context Engineering Pattern; five context types (instructions, examples, knowledge, memory, tools); RAG boundary clarification; five-type framework for PM AI assistants

Takeaways

  1. Context engineering is broader than prompt engineering — encompasses activities before prompt creation (strategic context, knowledge retrieval, memory management, tool provision)
  2. Five context types detailed: Instructions, Examples, Knowledge, Memory, Tools — each with concrete sub-elements
  3. RAG is only partly context engineering — RAG is a 3-step pipeline (retrieval, assembly, generation); context engineering focuses on steps 1-2 (selection/preparation) but stops before generation
  4. Strategic context improves autonomy — supplying context beyond raw task specifications improves AI autonomy (arXiv:2401.04729)
  5. Concrete patterns provided: JSON/XML context examples, n8n Think Tool as scratchpad, OpenAI Assistants API automatic memory, structured tool/function definitions

Guardrails Applied

  • Entity threshold: N/A — this is a concept page, not an entity; no entity creation claimed
  • Max 8 outbound links: satisfied (concept page has Related section with cross-references)
  • Min 2 outbound links: satisfied (concept page has Relationships and Open Questions sections)
  • All tags in taxonomy: verified against wiki/prompts/AGENTS.md and _schema.md — tags: prompt-engineering, context-engineering, context-types, prompt-pattern, product-management all exist in taxonomy
  • Compounding invariant preserved: no existing pages demoted or modified; 1 new concept page created
  • Raw evidence immutable: evidence body in raw/prompts/https-www-productcompass-pm-context-engineering-20260818-140845.md not edited or summarized; only metadata (ledger update if needed) added
  • No automated heuristics for page creation: concept page justified by substantive analysis of the source, not by frequency-in-feed alone

[2026-08-20] ingest | Batch: Warp Agent Mode + Perplexity Spaces + Perplexity Pro (3 sources)

Sources

  • raw/prompts/leaked/warp-agent-mode-system-prompt.md — Warp Agent Mode terminal AI coding agent system prompt (leaked, x1xhlol repo)
  • raw/prompts/leaked/perplexity-spaces-system-prompt.md — Perplexity Spaces system prompt variant (2024-10-18, TheBigPromptLibrary)
  • raw/prompts/leaked/perplexity-pro-system-prompt.md — Perplexity Pro system prompt variant (2024-12-12, TheBigPromptLibrary)

Route validation

  • route-classifier.ps1 → ambiguous (confidence: 0.523), prompts 12.75 / main 13.98 / vibecoding 7.54. Override → prompt wiki — all three are leaked system prompts; existing perplexity page already lives in wiki/prompts/.

Pages

  • Created: wiki/prompts/entities/warp-agent-mode.md — Warp terminal AI agent: question-task classifier, tool-name opacity, secret env-var management, XML citation schema, strict task completion
  • Extended: wiki/prompts/entities/perplexity-system-prompt.md — added Spaces variant (template variable injection, simplified envelope) and Pro variant (XML query types, LaTeX delimiter change to ( )/[ ], URL ban, user profile injection, expanded banned phrases); lifecycle l0→l1; added 2 new sources; added Prompt Evolution comparison table

Contradictions

  • LaTeX delimiters: base/Spaces use $$, Pro uses ( )/[ ] — breaking format change within same product line
  • prompts-index.md updated: entity count 62→63, added [[warp-agent-mode]], updated [[perplexity-system-prompt]] description
  • prompts-log.md updated with this entry

Guardrails Applied

  • Entity threshold: Warp = central to source; Perplexity = already existed, extended with 2 new variants
  • Max 8 outbound links: satisfied on both pages
  • Min 2 outbound links: satisfied on both pages
  • All tags in taxonomy: prompt-engineering, system-prompt, envelope-format, architecture-pattern, instruction-pattern, tool-origin all exist
  • Compounding invariant preserved: existing perplexity page extended, not overwritten
  • Raw evidence immutable: all three raw files captured with provenance frontmatter, bodies unchanged
  • No automated heuristics for page creation: both decisions driven by LLM analysis of source content

[2026-08-21] ingest | GraphPrompt primary paper

  • Source: https://arxiv.org/abs/2302.08043 — GraphPrompt: Unifying Pre-Training and Downstream Tasks for Graph Neural Networks.
  • Route: prompt wiki; approved candidate cand-graph-prompting-extend-arxiv.
  • Page: extended wiki/prompts/concepts/graph-prompting.md with the primary-source correction distinguishing learnable GNN prompts from textual LLM prompts.
  • Contradiction handling: preserved the earlier secondary-source framing and added the primary-source correction without marking the page contested.
  • Verification: wikilint: OK — All checks passed (158 pages, scope: prompts).

[2026-09-01] update | Lote 1 — upgrade low confidence sections (prompt wiki)

Sources captured

  • raw/external/arxiv-org-2311-16534-fbea2bed.md — Survey Graph Prompt Learning (arXiv 2311.16534)
  • raw/external/github-com-bifrost-a4ff3f36.md — maximhq/bifrost repo
  • raw/external/github-com-codegraph-99cb30cd.md — colbymchenry/codegraph repo
  • raw/external/github-com-token-optimizer-mcp-a42670b5.md — ooples/token-optimizer-mcp repo (recapture 2026-09-01)

Route validation

  • scripts/route-classifier.ps1 -Query "graph prompting survey" → prompt wiki (already classified). Lote restrito a prompt wiki per AGENTS.md Multi-Wiki Routing.

Pages updated (4 content pages, within 5-page batch cap)

  • wiki/prompts/concepts/graph-prompting.md — added survey source, removed (confidence: low) from Summary/Definição, added citations and External Links, updated 2026-09-01
  • wiki/prompts/entities/bifrost.md — added GitHub snapshot source, kept Claims (confidence: low) as vendor claim, added External Links, updated Implications, updated 2026-09-01
  • wiki/prompts/entities/codegraph.md — added GitHub snapshot source, promoted What It Is (confidence: low) → sem marcador (now verified), promoted page confidence low→medium, added External Links, updated 2026-09-01
  • wiki/prompts/entities/token-optimizer-mcp.md — added recapture snapshot source, kept Claims (confidence: low), updated Implications with snapshot citation, updated 2026-09-01

Guardrails applied

  • Compounding invariant: all 4 pages preserved and extended, none overwritten
  • Max 8 outbound links: verified on all 4 pages
  • Existing pages updated: 4 (within 5-page cap)
  • Forward-only linking: no backfill
  • Tags: reused existing vocabulary, no _schema changes
  • Provenance: frontmatter sources + inline ^[…] citations + External Links visibility
  • Contradictions: none new — vendor claims kept as low confidence explicitly

Verification

  • pwsh -File scripts/wikilint.ps1 -Scope prompts → wikilint: OK — All checks passed (161 pages, scope: prompts)

[2026-09-01] update | Lote 2 — upgrade prompt-chaining e reflexion (prompt wiki)

Sources captured

  • raw/external/www-promptingguide-ai-prompt-chaining-d9dd2439.md — Prompt Chaining EN (promptingguide.ai, 200)
  • raw/external/www-promptingguide-ai-reflexion-8b219b90.md — Reflexion EN (promptingguide.ai, 200)
  • raw/external/arxiv-org-2303-11366-806c90da.md — Reflexion: Language Agents with Verbal Reinforcement Learning (Shinn et al., arXiv 2303.11366)

Route validation

  • scripts/route-classifier.ps1 -Query "prompt chaining reflexion" → prompt wiki (já classificado como prompt). Lote restrito a prompt wiki.

Pages updated (2 content pages, within 5-page batch cap)

  • wiki/prompts/concepts/prompt-chaining.md — + snapshot EN, confidence low→medium, l0→l1, removido (confidence: low) de Summary/Definição, adicionado External Links e citações, updated 2026-09-01
  • wiki/prompts/concepts/reflexion.md — + snapshot EN + paper arXiv, confidence low→medium, l0→l1, removido (confidence: low) de Summary/Definição, adicionado External Links e citações Shinn et al. 2023, updated 2026-09-01

Guardrails applied

  • Compounding invariant: ambas páginas preservadas e estendidas
  • Max 8 outbound links: verificado
  • Existing pages updated: 2 (within 5-page cap)
  • Forward-only linking: no backfill
  • Tags: reused existing vocabulary
  • Provenance: frontmatter sources + inline ^[…] + External Links visibility
  • Contradictions: none — EN guides confirmam PT, paper expande sem conflito

Verification

  • pwsh -File scripts/wikilint.ps1 -Scope prompts → wikilint: OK — All checks passed (161 pages, scope: prompts) — LOW CONF caiu de 12 para 8 avisos (removidos prompt-chaining 3 + reflexion 3)
  • pwsh -File scripts/wikilint.ps1 -Scope all → wikilint: OK — All checks passed (346 pages, scope: all)

[2026-09-03] query | /goal character limit claude code — prompt wiki

  • Route: python scripts/route_classifier_helper.py --wiki-root . --query "prompt wiki to find out more info about /goal character limit claude code" → ambiguous (0.508) main 3.84 vs prompts 3.72 vs vibecoding 2.66; override manual → prompts wiki por pedido explícito “prompt wiki” (explicit scope wins).
  • Scope: prompt wiki — Found: 11 páginas com “goal” em wiki/prompts/ (grep), Analyzed: 3 core (claude-code-best-practices, claude-code-sessions, constraint-based-prompting) + raw/prompts/ buscas + docs externos code.claude.com/docs/en/goal.
  • Finding: vault não documenta o limite 4.000 — claude-code-best-practices descreve /goal como verificação runnable com avaliador separado e version-sensitive (2026-07-31), claude-code-sessions documenta persistência do active goal entre resumes, constraint-based-prompting sugere constraints explícitas para tornar /goal avaliável; limite 4.000 e mecanismo Haiku (Not yet met/Met/Impossible, não roda comandos, só julga transcript) vêm de https://code.claude.com/docs/en/goal [unverified - external] — gap vault registrado, candidato a ingest futuro via scripts/external_links.py capture.
  • Deliverable: resposta sintética em pt-BR com limite, mecanismo, regra “estado mensurável + check declarado + constraints”, e implicação para prompt predict (2.811 chars, cabe com folga 1.189, risco é avaliabilidade não tamanho).
  • Gate: pwsh -File scripts/query-check.ps1 -Query "prompt wiki to find out more info about /goal character limit claude code" -AnswerFile /tmp/answer_draft.md -Scope prompts → query-check: OK (0 failures; 10 retrieved slugs, all in-route).
  • Verification: leitura de governance antes de retrieval; grep em wiki/prompts e raw/prompts antes de síntese; wikilinks e raw paths validados; externos marcados unverified.

[2026-09-03] ingest | Reflexion + Prompt Chaining — 3 sources, 2 pages extended

Sources claimed (batch theme: verbal reinforcement + sequential decomposition)

  • raw/external/www-promptingguide-ai-reflexion-8b219b90.md (37d1f2b511b3e2ad, 8b219b90) — Reflexion guide (DAIR.AI)
  • raw/external/arxiv-org-2303-11366-806c90da.md (50e1f29b8fbf1159, 806c90da) — Reflexion paper (Shinn et al. 2023 v4)
  • raw/external/www-promptingguide-ai-prompt-chaining-d9dd2439.md (f15c6b9ea166f569, d9dd2439) — Prompt Chaining guide

Route validation

  • python scripts/route_classifier_helper.py --query "Reflexion verbal reinforcement language agents self-reflection prompt chaining sequential sub-prompts" → ambiguous (0.593) main 4.31 / prompts 6.28 / vibecoding 2.40 — override → prompt wiki (explicit technique domain, existing pages reflexion and prompt-chaining)

Pages extended (2, within 5-page cap)

  • wiki/prompts/concepts/reflexion.md — l1→l2, confidence medium→high, updated 2026-09-03: added Architecture (Actor/Evaluator/Self-Reflection), Results (130/134 AlfWorld, 91% HumanEval vs 80% GPT-4, v4 ablations), When to Use & Limitations, Open Questions, Implications per section; preserved PT summary/definition; sources unchanged (already cited)
  • wiki/prompts/concepts/prompt-chaining.md — l1→l2, confidence medium→high, updated 2026-09-03: added Document QA two-prompt pattern (Prompt 1/2 templates with <quotes>/#### {{document}}), When to Use, Open Questions, Implications; preserved existing definition
  • wiki/prompts/prompts-index.md — no new entries (both pages already cataloged); counts unchanged 161 pages

Contradiction pass (batch)

  • none — Reflexion guide summarizes Reflexion paper (consistent 91% claim); prompt chaining complementary; no dated-position conflict

Candidates

  • reflexion-extend-20260903 (extend reflexion, 2 sources) — approved
  • prompt-chaining-extend-20260903 (extend prompt-chaining, 1 source) — approved
  • approved 2 / merged 0 / discarded 0

Verification

  • pwsh -File scripts/wikilint.ps1 -Scope prompts → wikilint: OK — All checks passed (161 pages, scope: prompts)
  • pwsh -File scripts/wikilint.ps1 -Scope all → wikilint: OK — All checks passed (348 pages, scope: all)

[2026-09-03] ingest | Lote 2 — Bifrost + Token Optimizer + Graph Prompting — 3 sources, 3 pages l1->l2

Sources claimed (batch gateway/research — prompts scope 3/4)

  • raw/external/github-com-bifrost-a4ff3f36.md (52224a79, a4ff3f36) — Bifrost gateway snapshot 2026-09-01
  • raw/external/github-com-token-optimizer-mcp-a42670b5.md (4b78efaa, a42670b5) — Token Optimizer MCP 16-client graph
  • raw/external/arxiv-org-2311-16534-fbea2bed.md (44ff4cac, fbea2bed) — Graph Prompt Learning survey 2311.16534

Route validation

  • python scripts/route_classifier_helper.py --query "Bifrost AI gateway token optimizer MCP Graph Prompt Learning autoresearch loop" → ambiguous (0.592) main 4.95 / prompts 7.19 / vibecoding 3.56 — override → prompt wiki for these 3 (top match Bifrost, score 7.19) — main scope for 4th source handled in main log

Pages extended (3, within 5-page cap)

  • wiki/prompts/entities/bifrost.md — l1→l2, confidence medium→high, updated 2026-09-03: added Deployment Modes (Gateway/Go SDK/Drop-in), Performance table (11 µs t3.xlarge, 59 µs t3.medium, 1.67 µs queue, 100% @5k RPS), Enterprise (clustering/guardrails/budgets/OIDC/secrets/plugins), modular architecture
  • wiki/prompts/entities/token-optimizer-mcp.md — l1→l2, contested false→true, added 16-client live graph sharing, control-arm measurement vs 95% headline, contradictions with rtk-rust-token-killer
  • wiki/prompts/concepts/graph-prompting.md — l1→l2, added Survey Beyond (ProG library, 100+ works, unified token/structure, Beyond roadmap), implications for GNN vs LLM textual graph
  • wiki/prompts/prompts-index.md — no new entries (all 3 already cataloged); counts 161 pages unchanged

Contradiction pass (prompts 3/4)

  • none among 3 — Bifrost vs token-optimizer complementary (gateway vs per-agent optimizer); graph survey extends definition without conflict

Candidates

  • bifrost-extend-lote2 (extend bifrost) — approved
  • token-optimizer-extend-lote2 (extend token-optimizer-mcp) — approved
  • graph-prompting-extend-lote2 (extend graph-prompting) — approved
  • approved 3 / merged 0 / discarded 0 (prompts sub-batch)

Verification

  • pwsh -File scripts/wikilint.ps1 -Scope prompts → wikilint: OK — All checks passed (161 pages, scope: prompts)

[2026-09-03] ingest | Token Optimizer MCP — re-capture, no substantive drift

Source

  • raw/external/github-com-token-optimizer-mcp-ea1b1b42.md — re-capture of https://github.com/ooples/token-optimizer-mcp (content_hash ea1b1b42, captured 2026-09-03). New snapshot written; prior a42670b5 not overwritten (Guardrail #1).

Route validation

  • python scripts/route_classifier_helper.py --wiki-root . --query "ooples token-optimizer-mcp MCP server token optimization context compression prompt engineering API" → ambiguous (0.603), main 5.73 / prompts 8.68 / vibecoding 3.65. Override → prompt wiki (existing wiki/prompts/entities/token-optimizer-mcp.md; classifier top match was literally “Token Optimizer MCP”).

Page

  • wiki/prompts/entities/token-optimizer-mcp.md — extended (no lifecycle change, stays l2): added snapshot ea1b1b42 to sources object-form; noted re-capture found no substantive drift (README body + headline + product sections unchanged; only GitHub UI chrome added to capture). No new page created.
  • prompts-index.md — no change (page already indexed).

Contradiction pass

  • none — re-capture confirms existing headline; no conflict with page or other sources.

Verification

  • pwsh -File scripts/wikilint.ps1 -Scope prompts → wikilint: OK (see run below)

[2026-09-07] query | Técnicas da prompt wiki para melhorar prompt de deep research (Manus, GitHub Flow + vibe coding)

Route validation

  • python scripts/route_classifier_helper.py --wiki-root wiki --query "query our prompt wiki to see if we can enhance this deep research prompt even better" → ambiguous (0.0), scores vazios (classificador degenerado). Override → prompts wiki por escolha explícita do usuário (“query our prompt wiki”).

Resultado

Verification

  • pwsh -File scripts/query-check.ps1 -Query "<...>" -AnswerFile .query-answer-tmp.md -Scope prompts → query-check: OK (0 failures; temp removido após o gate).

[2026-10-05] query | Otimizar deep research prompt (Perplexity) sobre roteadores LLM + free tiers, com segunda passada pelo prompt wiki

Route validation

  • python scripts/route_classifier_helper.py --wiki-root wiki --query "Como configurar roteadores de LLM para maximizar free tiers em coding" → ambiguous (0.0), scores vazios (classificador degenerado). Override → prompts wiki por escolha explícita do usuário (“querying the prompt wiki”).

Resultado

Verification

  • pwsh -File scripts/query-check.ps1 -Query "<...>" -AnswerFile tmp/perplexity-router-prompt-answer.md -Scope prompts → query-check: OK (0 failures; temp removido após o gate).