share-learning

share-learning is a skill for Claude Code from darkroomengineering/cc-settings. It costs 52 tokens per session (2,318 once invoked), scanned A, original, MIT.

A workflow for adding useful engineering lessons to a shared team knowledge repository.

In plain words
What is it for?
Use it to check for duplicate notes and promote a team-relevant decision, convention, gotcha, incident, or pattern.
Why use it?
It prevents important decisions, conventions, bugs, and reusable patterns from staying with one person or project.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions AGENTS.md.

Part of the darkroom plugin — 23 skills, 10 agents, 4 hooks shipped together

Good fit Use it to check for duplicate notes and promote a team-relevant decision, convention, gotcha, incident, or pattern.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/darkroomengineering/cc-settings/share-learning
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.

Any agent
npx skills add darkroomengineering/cc-settings --skill share-learning
Clone the repo
git clone --depth 1 https://github.com/darkroomengineering/cc-settings

Made for: Claude Code.

Or install darkroom, the plugin that ships this one along with the rest of its 23 skills, 10 agents, 4 hooks.

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 share-learning

README.md
[![agentmods](https://agentmods.dev/badge/skills/darkroomengineering/cc-settings/share-learning/github.svg)](https://agentmods.dev/skills/darkroomengineering/cc-settings/share-learning)
Your own site
<a href="https://agentmods.dev/skills/darkroomengineering/cc-settings/share-learning"><img src="https://agentmods.dev/badge/skills/darkroomengineering/cc-settings/share-learning/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 share-learning

Your own site · 80×15
<a href="https://agentmods.dev/skills/darkroomengineering/cc-settings/share-learning"><img src="https://agentmods.dev/badge/skills/darkroomengineering/cc-settings/share-learning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,318 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00052 $0.02318
Opus 5.5 $0.00021 $0.00927
Sonnet 5.5 $0.00010 $0.00464
Haiku 4.5 $0.00005 $0.00232

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

Security

Grade A, and why

share-learning 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 5d 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.

skills/share-learning/SKILL.md · 191 lines

How it starts

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

share-learning

Promote a single learning to the team's shared knowledge repo (darkroomengineering/team-knowledge), the "public corpus" tier of docs/knowledge-system.md. Use it when AGENTS.md "Knowledge Routing" sends the learning to the team repo; personal preferences, local project state, and external pointers go to auto-memory instead. Do NOT post those.

Write gate

Run this first, before any network call. Ask: if this note disappeared, would an engineer reading the final code, tests, and comments still repeat the mistake or redo the investigation? If not, write nothing and tell the user why in one line. An explicit request asks for the judgment now; it does not lower the bar. Effort spent and diff size do not qualify a learning. An existing note that is inaccurate qualifies for an update, not a duplicate.

Inputs

Invoked as /share-learning <kind> "<text>" where <kind> is one of: decision, convention, gotcha, incident, pattern.

If invoked without arguments, infer the most likely kind and a concise text from the recent conversation, then show the user what you intend to post and confirm before posting.

Before starting, run gh auth status and confirm the authenticated account can read darkroomengineering/team-knowledge (or $KNOWLEDGE_REPO) with gh api repos/${KNOWLEDGE_REPO:-darkroomengineering/team-knowledge} --jq .full_name. Stop with the failed prerequisite if either check fails. Do not wait until the write step to surface missing authentication or repository access.

Steps

  1. Resolve the repo. Read $KNOWLEDGE_REPO from the environment; default is darkroomengineering/team-knowledge:

    KNOWLEDGE_REPO="${KNOWLEDGE_REPO:-darkroomengineering/team-knowledge}"
    
  2. Dedup against the index (required). Fetch the current index:

    gh api repos/$KNOWLEDGE_REPO/contents/INDEX.md --jq .content | base64 -d
    

    Scan the note names and titles in the index for an entry that already captures this learning (semantic near-duplicate, not just exact match). If you find one:

    • Show the user the existing note name and its summary line.
    • Ask whether to skip (already covered), post anyway (genuinely distinct), or revise your proposed entry to complement it.

Read the full file on GitHub · 191 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. 5d ago Changed · +27 lines c7df40659aee
  2. 15d ago Changed · +21 lines aa54dbf6e4e8
  3. 19d ago Changed · +17 lines 8da693730923
  4. 20d ago Changed · +17 lines 9d35b5ede200
  5. 1mo ago Changed · -9 tokens per session bcb3fb8378d2
  6. 1mo ago First seen · 109 lines · 61 tokens per session scan A 3c0707c4ea27

Subscribe to this mod's changes

share-learning is a skill published in the GitHub repository darkroomengineering/cc-settings (52 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 2,318 once invoked, about $0.0002 per session on Opus 5.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.

Related

Other skills, from other repositories

save-q

A skill that saves the main questions and answers from the current conversation to a question bank.

GeonheeYe/multi-agent-dotfiles · 37 tokens

memory-retain

Save what was learned to Hindsight long-term memory. Use when a task finishes, when the user states a fact, decision or preference, and when you discover something a later run or another Bot would need.

vectorize-io/hindsight · 46 tokens

last30Days

Resolve "last30Days" to a concrete ISO date range relative to your run time — a rolling 30-day window ending today. Returns inclusive civil dates plus exact UTC instants so you have temporal context without computing dates by hand. Read-only: no writes, no network. Use before a "last 30 days" / trailing-month task…

chaitanyagiri/munder-difflin · 83 tokens

kb-research

Structured approach to finding and synthesizing information from the user's knowledge base.

MODSetter/SurfSense · 17 tokens

md-fetch-summarize

Fetch a URL and return a concise markdown summary of its content. Read-only: no files are written; the summary is returned as output only. Use when asked to "fetch and summarize", "summarize this URL", "what does this page say", or "get the content of ". Proactively suggest when the user pastes a URL and asks what it…

chaitanyagiri/munder-difflin · 93 tokens

session-summaries

What the chat right-panel session summary shows, what it costs, and how to make a session summarize well. Load when the user asks about the session summary panel, why a summary looks wrong or empty, or how to turn it on.

kirodotdev/KiroCrew · 53 tokens