shared-agents-knowledge

A shared knowledge library for coding agents, containing team skills, rules, and lessons learned. It syncs this information at the start of a session and helps find relevant guidance during work.

In plain words
What is it for?
Use it to sync team guidance, search approved lessons, and apply advice matched to a project's technology stack. It can also capture new lessons after substantial tasks.
Why use it?
It prevents agents from working with outdated or missing team knowledge. It also keeps shared instructions and past lessons available across projects and sessions.

Skill for Claude CodeCodex

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/netgrade-digital/shared-agents/shared-agents-knowledge
Any agent
npx skills add netgrade-digital/shared-agents --skill shared-agents-knowledge
Clone the repo
git clone --depth 1 https://github.com/netgrade-digital/shared-agents

Made for: Claude Code, Codex.

Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 629 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00054 $0.00629
Opus 5 $0.00027 $0.00315
Sonnet 5 $0.00011 $0.00126
Haiku 4.5 $0.00005 $0.00063

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

Security

Grade A, and why

shared-agents-knowledge 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 2d 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/shared-agents-knowledge/SKILL.md · 71 lines

How it starts

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

Shared Agents Knowledge

Path: $SHARED_AGENTS_HOME (default: ~/.shared-agents)

Automatic sync (always — no user action)

Every session, first step: run sync before anything else.

"${SHARED_AGENTS_HOME:-$HOME/.shared-agents}/scripts/sync.sh" pull

Pulls Core (~/.shared-agents) and Team (~/.shared-agents/team/) when configured.

  • Do not ask the user to sync manually.
  • Do not skip because "probably up to date".
  • Offline/errors: continue with local files; note only if learnings may be stale.

IDE hooks also pull on session start (Cursor sessionStart, Claude SessionStart). Agent must still sync if hooks may not have run (subagents, headless).

Retrieve (before non-trivial tasks)

  1. Sync (pull) — always first.
  2. Read team/learnings/index.yaml for project, domain, tags, versions.
  3. Grep team/learnings/approved/ for task keywords.
  4. Prefer learnings whose versions match the project's stack (exact patch or same MAJOR.MINOR.PATCH line); treat experimental confidence as hints.
  5. Summarize briefly — do not dump the whole repo.

Capture (after non-trivial tasks — ask first)

Always ask after substantive tasks:

„Soll ich ein Team-Learning in shared-agents anlegen?"

User says Action
Yes / „ja" / „learning speichern" Write to team pending/ (see below)
No Do nothing

Also capture when user explicitly asks anytime.

When writing:

  1. Activate skill capture-learning.
  2. Resolve path: sa pending path YYYY-MM-DD-short-slug (see docs/canonical-paths.mdnever workspace-relative; not in Core-Repo).
  3. Never write directly to approved/.
  4. Remind user: teammate runs sa reviewapproved/ → then all agents can use it.

For shell commands (install, review, pending push): skill sa-cli or run sa help.

Headless agents (OpenClaw)

Wrap commands with entrypoint (sync then exec):

"$SHARED_AGENTS_HOME/scripts/agent-entrypoint.sh" <your-agent-command>

Read the full file on GitHub · 71 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. 2d ago First seen · 71 lines · 54 tokens per session scan A 0abf27a1ace4

Subscribe to this mod's changes

shared-agents-knowledge is a skill published in the GitHub repository netgrade-digital/shared-agents (4 stars, last pushed 2mo ago), licensed MIT. It adds 54 tokens to every session and 629 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

memory-curation

When you have read / processed a workspace asset in this session and learned something durable about it, write a memory page so future sessions benefit. Maintain the workspace wiki's hierarchical structure as it grows.

Prismer-AI/PrismerCloud · 46 tokens

speak-human-tw

「說人話」:繁體中文的去 AI 味改寫 skill。審查與改寫文字,去除 AI 味道、校正中國用語與半形標點,讓文字讀起來像真人寫的。 觸發時機:用戶說「去 AI 味」「說人話」「這段好 AI」「改自然一點」「幫我潤稿去掉 AI 感」「校對一下再發」,或要求檢查電子報、社群貼文、銷售頁、課程文案、客服回信、簡報、公告、Email 等對外文字的語感。 不要觸發:逐字翻譯、模仿特定品牌 voice、事實查核(非風格問題)、程式碼/log/設定檔、要求「潤成雷蒙的語氣」(那是 content-writing skill 的事,本 skill 只去 AI 味、不加個人風格)。.

Raymondhou0917/speak-human-tw · 220 tokens

docs-workflows

Documentation and extension workflows derived from local slash commands (docs, explanation, issues, prototypes, tutorials, MCP design review).

TencentCloudBase/CloudBase-AI-Toolkit · 28 tokens

init-workspace-documentation

Skill "init-workspace-documentation" from griddynamics/rosetta, covering agent memory.md, agent memory, preventive rules, what worked and what failed.

griddynamics/rosetta · 10 tokens

editorial-illustrations

Generate meaning-carrying editorial data-illustrations in the monotykamary / Linear aesthetic (near-black grayscale, Inter display + mono labels, hairline framed figures) with a single coral accent. This is a GENERATIVE GUIDE, not a template gallery: it teaches the "claim -> geometry" method so any session can invent…

huytieu/COG-second-brain · 178 tokens

Academic CV Builder

Format CVs for academic positions with publications, grants, and teaching.

PramodDutta/qaskills · 17 tokens