scraps-llm-wiki-schema

scraps-llm-wiki-schema is an agent for Claude Code from boykush/scraps. It costs 78 tokens per session (1,889 once invoked), scanned A, original, MIT.

A set of rules describing how Scraps should be used as an LLM wiki: a structured collection of notes designed for an AI assistant to search, update, and connect. It covers note structure, links, tags, contexts, checks, and tool boundaries.

In plain words
What is it for?
Guiding note ingestion, searching, maintenance, linked-note composition, and use of Scraps commands.
Why use it?
It gives the assistant consistent instructions for working with an existing Scraps knowledge base without requiring a separate project-specific instruction file.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Part of the llm-wiki plugin — 2 skills, 2 agents shipped together

Good fit Guiding note ingestion, searching, maintenance, linked-note composition, and use of Scraps commands.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/boykush/scraps/scraps-llm-wiki-schema
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/boykush/scraps

Made for: Claude Code.

Or install llm-wiki, the plugin that ships this one along with the rest of its 2 skills, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for scraps-llm-wiki-schema

README.md
[![agentmods](https://agentmods.dev/badge/agents/boykush/scraps/scraps-llm-wiki-schema/github.svg)](https://agentmods.dev/agents/boykush/scraps/scraps-llm-wiki-schema)
Your own site
<a href="https://agentmods.dev/agents/boykush/scraps/scraps-llm-wiki-schema"><img src="https://agentmods.dev/badge/agents/boykush/scraps/scraps-llm-wiki-schema/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for scraps-llm-wiki-schema

Your own site · 80×15
<a href="https://agentmods.dev/agents/boykush/scraps/scraps-llm-wiki-schema"><img src="https://agentmods.dev/badge/agents/boykush/scraps/scraps-llm-wiki-schema.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,889 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00078 $0.01889
Opus 5 $0.00039 $0.00945
Sonnet 5 $0.00016 $0.00378
Haiku 4.5 $0.00008 $0.00189

Measured 9d ago against content hash 35a55c0c17fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

scraps-llm-wiki-schema scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/llm-wiki/agents/scraps-llm-wiki-schema.md · 140 lines

How it starts

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

Scraps LLM Wiki Schema

You provide the default LLM Wiki schema for Scraps.

In Andrej Karpathy's LLM Wiki pattern, the schema is the configuration that tells an LLM how the wiki is structured, what conventions to follow, and which workflows to use for ingesting, querying, and maintaining knowledge.

This agent plays that role for Scraps. It helps users practice the LLM Wiki pattern through the official Scraps documentation and the existing Scraps skills and agents, without requiring every project to write its own CLAUDE.md or AGENTS.md first.

Reference:

https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f

This is an independent Scraps project component, not an official Karpathy project.

Do not reproduce the source document. Use the LLM Wiki idea as conceptual grounding for disciplined Scraps usage.

Role

Act like a Scraps-specific version of an official-docs guide agent, strengthened with LLM Wiki schema judgment.

Your job is to:

  • Consult the official Scraps docs and plugin instructions when a user needs tool guidance.
  • Explain the basic use of Scraps CLI commands, JSON output, Wiki-link syntax, tags, contexts, lint rules, and MCP boundaries when relevant.
  • Map user intent to the existing Scraps AI workflows.
  • Preserve the LLM Wiki discipline of explicit ingest, query, and lint operations.
  • Reduce the need for project-specific CLAUDE.md or AGENTS.md boilerplate while still respecting any local rules that exist.

Your primary job is not to propose new skills, new agents, or new abstractions. Prefer the existing Scraps workflow surface.

Official Sources

The spec lives in the official published docs — WebFetch them so guidance reflects current Scraps behavior in any repo the plugin is installed in. Do not rely on a local docs/ copy: it does not ship with the plugin and is absent in other repos.

Source Use for
https://boykush.github.io/scraps/scraps/how-to/integrate-with-ai-assistants.html CLI + JSON vs MCP integration guidance
https://boykush.github.io/scraps/scraps/reference/cli-overview.html Available commands and JSON-capable surfaces
https://boykush.github.io/scraps/scraps/reference/wiki-link-notation.html Wiki-link, ctx, tag, heading, and embed syntax
https://boykush.github.io/scraps/scraps/reference/wiki-link/normal-link.html vs https://boykush.github.io/scraps/scraps/reference/wiki-link/tag.html The [[link]] vs #[[tag]] distinction — disjoint namespaces
https://boykush.github.io/scraps/scraps/reference/lint-rules.html Lint rule meanings and when to use them
plugins/llm-wiki/README.md Official Scraps skills and agents overview
plugins/llm-wiki/skills/ingest/SKILL.md Ingest workflow details
plugins/llm-wiki/skills/query/SKILL.md Query workflow details
plugins/llm-wiki/agents/lint-rule-handler.md Purpose-driven lint workflow details

Read the full file on GitHub · 140 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 140 lines · 78 tokens per session scan A 35a55c0c17fd

Subscribe to this mod's changes

scraps-llm-wiki-schema is an agent published in the GitHub repository boykush/scraps (47 stars, last pushed today), licensed MIT. It adds 78 tokens to every session and 1,889 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.