compound-docs

compound-docs is a skill for Claude Code, Codex from divingsbysangam/salesforce-compound-engineering-plugin. It costs 43 tokens per session (2,083 once invoked), scanned A, a copy of agentforce-test, MIT.

A documentation skill for recording solved Salesforce problems in a standard format. The documents describe symptoms, causes, fixes, prevention, and related files.

In plain words
What is it for?
Writing solution records for deployment failures, governor limits, tests, security issues, integrations, Flows, and Lightning Web Components.
Why use it?
It turns one-off debugging work into searchable team knowledge, so later problems can be diagnosed and fixed more consistently.

Skill for Claude CodeCodex

Part of the sf-compound-engineering plugin — 68 skills, 2 agents, 1 hook, 2 MCP servers shipped together

Install

Getting it into your agent

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

agentmods
npx agentmods add skills/divingsbysangam/salesforce-compound-engineering-plugin/compound-docs
Any agent
npx skills add divingsbysangam/salesforce-compound-engineering-plugin --skill compound-docs
Clone the repo
git clone --depth 1 https://github.com/divingsbysangam/salesforce-compound-engineering-plugin

Made for: Claude Code, Codex.

Or install sf-compound-engineering, the plugin that ships this one along with the rest of its 68 skills, 2 agents, 1 hook, 2 MCP servers.

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 compound-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/divingsbysangam/salesforce-compound-engineering-plugin/compound-docs.svg)](https://agentmods.dev/skills/divingsbysangam/salesforce-compound-engineering-plugin/compound-docs)
Your own site
<a href="https://agentmods.dev/skills/divingsbysangam/salesforce-compound-engineering-plugin/compound-docs"><img src="https://agentmods.dev/badge/skills/divingsbysangam/salesforce-compound-engineering-plugin/compound-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,083 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 94% 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 $0.00043 $0.02083
Opus 5 $0.00022 $0.01042
Sonnet 5 $0.00009 $0.00417
Haiku 4.5 $0.00004 $0.00208

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

Security

Grade A, and why

compound-docs 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 4d 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

94% identical to agentforce-test — 100 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.

skills/compound-docs/SKILL.md · 85 lines

How it starts

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

Compound Docs Skill

Guide for writing solution documents that feed the institutional knowledge system.

Solution Document Template

Every solution in docs/solutions/ follows this structure:

---
title: "{Short descriptive title}"
date: YYYY-MM-DD
category: {category}
severity: {critical|high|medium|low}
tags: ["{tag1}", "{tag2}"]
---

## Symptoms
{What went wrong — error messages, unexpected behavior}

## Root Cause
{Why it happened — technical explanation}

## Resolution
{How it was fixed — specific changes}

## Prevention
{How to avoid this in future}

## Related Files
- {file_path}:{line_number}

Categories

Category Directory Use For
governor-limits governor-limit-issues/ SOQL 101, DML 150, CPU timeout, heap size
deployment deployment-issues/ Deploy failures, metadata conflicts, version issues
test-failure test-failures/ Flaky tests, coverage gaps, assertion errors
security security-issues/ CRUD/FLS, injection, sharing, encryption
integration integration-issues/ Callout failures, auth, Named Credentials
flow flow-issues/ Flow errors, recursion, limits, versioning
lwc lwc-issues/ Rendering, wire service, events, lifecycle
data-model data-model-issues/ Relationships, indexes, skew, limits
best-practice best-practices/ Proven patterns, recommended approaches
pattern patterns/ Reusable design patterns, architectural decisions

Read the full file on GitHub · 85 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. 4d ago First seen · 85 lines · 43 tokens per session scan A 3e7a98195ae5

Subscribe to this mod's changes

compound-docs is a skill published in the GitHub repository divingsbysangam/salesforce-compound-engineering-plugin (10 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 2,083 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to agentforce-test, differing in 100 lines, and is treated as a copy.

Related

Other skills, from other repositories

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

baoyu-youtube-transcript

Downloads YouTube video transcripts/subtitles and cover images by URL or video ID. Supports multiple languages, translation, chapters, and speaker identification. Caches raw data for fast re-formatting. Use when user asks to "get YouTube transcript", "download subtitles", "get captions", "YouTube字幕", "YouTube封面"…

JimLiu/baoyu-skills · 107 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

read

Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…

tw93/Waza · 78 tokens

overleaf-sync

Two-way sync between a local paper directory and an Overleaf project, so ARIS audit/edit workflows stay on the local copy while collaborators edit in the Overleaf web UI. Use when user says "同步 overleaf", "overleaf sync", "推送到 overleaf", "connect overleaf", "Overleaf 桥接", "pull overleaf", "push overleaf", or wants to…

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens

pdf-verification-cli

Verify PDF page count and content using command-line tools when Python libraries unavailable.

HKUDS/OpenSpace · 19 tokens