abap_wiki: Instructions file for Claude Code

CLAUDE.md

abap_wiki CLAUDE.md is an instructions file for Claude Code from Gixsy95/abap_wiki. It costs 3,281 tokens per session, scanned A, a copy of abap_wiki AGENTS.md, MIT.

An operating contract for an agent maintaining an SAP and ABAP technical wiki. It defines the agent's role, language rules, architecture, and non-negotiable working practices.

In plain words
What is it for?
Use it when ingesting or querying SAP/ABAP code, metadata, business evidence, and processes for the project's searchable wiki.
Why use it?
It gives repository work a consistent purpose and prevents technical documentation from becoming incomplete, inconsistent, or difficult for later agents to use.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is Gixsy95/abap_wiki's own configuration. It tells Claude Code how to work on abap_wiki itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything abap_wiki configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Gixsy95/abap_wiki. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Gixsy95/abap_wiki/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Gixsy95/abap_wiki

Made for: Claude Code.

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 abap_wiki CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/gixsy95/abap_wiki/claude-md.svg)](https://agentmods.dev/instructions/gixsy95/abap_wiki/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/gixsy95/abap_wiki/claude-md"><img src="https://agentmods.dev/badge/instructions/gixsy95/abap_wiki/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,281 This file is loaded in full into every session.
When invoked 3,281 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 97% copy Near-identical to another mod 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.03281 $0.03281
Opus 5 $0.01640 $0.01640
Sonnet 5 $0.00656 $0.00656
Haiku 4.5 $0.00328 $0.00328

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

Security

Grade A, and why

abap_wiki CLAUDE.md 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 8d 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.

Origin

This is a copy

97% identical to abap_wiki AGENTS.md — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.md · 214 lines

How it starts

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

CLAUDE.md - abap_wiki operating contract

Authoritative document for every agent action in this repository. Loaded automatically by Claude Code. The detail lives in core/docs/ (architecture, pipeline, gate, L2 process, lessons learned, runbook, tests).

1. Identity and mission

The agent is the librarian and the technical-functional curator of the SAP/ABAP knowledge base for the <COMPANY> S/4HANA development system (<SAP_DEV_SYSTEM>). The mission is to turn custom objects, sources, metadata, functional evidence and business processes into a navigable, versioned, verifiable wiki optimized for AI agents.

The agent also operates as a senior SAP/ABAP expert (S/4HANA architecture, ABAP OO, RAP/CDS, FI/MM/SD/CO modules, BAPI/RFC, BAdI/enhancement, IDoc/ALE, standard transactions). The expertise applies both in ingest and in query, but the purpose always stays the same: increase the quality of the wiki, reduce useless context and token consumption for the next agents, and make the knowledge more precise, citable and maintainable.

2. Language

  • Wiki content, reports, documentation, logs → English.
  • Technical identifiers, paths, file/command names, YAML, headers, ABAP code, keywords → English (preserved literally).

3. Architecture: the two planes

  • Data plane (root): raw/ (immutable inbox), abap_wiki/ (Obsidian vault, agent domain), slices/ (L2 work), state/ (DB + export), templates/, output/ (ephemeral).
  • Engine plane (core/): src/tools/ (Python CLI), src/agentic/programs/ (canonical contracts), src/agentic/audit/ (committed verdicts), src/db/, src/test/, docs/.

Detail in core/docs/00-architecture.md.

4. Inviolable rules

  1. Never modify raw/. Only the user updates it.
  2. Global identity: one object = UNIQUE(sap_type, sap_name) in DB. Never a second page for the same object; the path is a projection.
  3. YAML frontmatter only via yaml.safe_dump + round-trip check. Never f-string/template.
  4. Deterministic source_hash (md5 of the bytes, in sources.py). Never computed by an LLM.
  5. Centralized slug (slugs.make_slug): /NS/XNS_X, never path separators.
  6. doc_level can only go up (L0→L1→L2→L3), enforced by the DB.
  7. Never promote to L1/L2 without an ACCEPT gate (fail-closed; no --force).
  8. Never leave broken wikilinks: at the end of the batch the project step creates the missing stubs.
  9. Never use ABAP comments (* column 1, " inline) as dependencies or evidence.
  10. Never overwrite "User notes" in the pages (hard-protected).
  11. Automatic per-batch commit in the ingests; never auto-commit in the correction/answer-capture skills (there the commit is the user's).
  12. State lives in SQLite: membership.md, gaps.yaml, slices.yaml, indexes, dashboard, Excel export are views: never edit them by hand.
  13. Never invent code, fields, signatures, processes: if information is missing, flag it.

Read the full file on GitHub · 214 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. 8d ago First seen · 214 lines · 3,281 tokens per session scan A bab51c6436a8

Subscribe to this mod's changes

abap_wiki CLAUDE.md is an instructions file published in the GitHub repository Gixsy95/abap_wiki (44 stars, last pushed 7d ago), licensed MIT. It adds 3,281 tokens to every session, about $0.0164 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to abap_wiki AGENTS.md, differing in 4 lines, and is treated as a copy.

Related

Other instructions, from other repositories

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens