sova: Skill for Claude Code

.agents/skills/source-command-extract-knowledge/SKILL.md

source-command-extract-knowledge is a skill for Claude Code, Codex from xsovad06/sova. It costs 19 tokens per session (1,005 once invoked), scanned A, original, Apache-2.0.

A knowledge-capture helper that reviews the current coding session and saves reusable lessons in the project's knowledge system. That system stores shared patterns, project rules, agent learnings, and user-specific preferences in separate locations.

In plain words
What is it for?
Use it after a task or review to record changed conventions, recurring mistakes, confirmed rules, and other knowledge that should guide future sessions.
Why use it?
It prevents useful decisions and lessons from disappearing when the session ends, so later work can reuse them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md; mentions Codex.

This is xsovad06/sova's own configuration. It tells Claude Code and Codex how to work on sova 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 sova configures →

Reuse

Borrowing it

Nothing to install: this file belongs to xsovad06/sova. 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/xsovad06/sova/main/.agents/skills/source-command-extract-knowledge/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/xsovad06/sova

Made for: Claude Code, Codex.

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 source-command-extract-knowledge

README.md
[![agentmods](https://agentmods.dev/badge/skills/xsovad06/sova/source-command-extract-knowledge.svg)](https://agentmods.dev/skills/xsovad06/sova/source-command-extract-knowledge)
Your own site
<a href="https://agentmods.dev/skills/xsovad06/sova/source-command-extract-knowledge"><img src="https://agentmods.dev/badge/skills/xsovad06/sova/source-command-extract-knowledge.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,005 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.00019 $0.01005
Opus 5 $0.00010 $0.00502
Sonnet 5 $0.00004 $0.00201
Haiku 4.5 $0.00002 $0.00101

Measured yesterday against content hash 7b408933f134, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

source-command-extract-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 yesterday.

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.

.agents/skills/source-command-extract-knowledge/SKILL.md · 110 lines

How it starts

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

source-command-extract-knowledge

Use this skill when the user asks to run the migrated source command extract-knowledge.

Command Template

Extract Knowledge

Review this session's work and extract reusable knowledge into the project's knowledge system.

Knowledge Architecture

This project uses a four-tier knowledge system:

Tier 0: ~/.Codex/shared-knowledge/ (cross-project patterns)

Reusable patterns that apply across multiple repositories. Loaded by agent startup scripts.

Tier 1: .Codex/rules/*.md (canonical, always loaded via AGENTS.md)

Stable patterns loaded into every session via AGENTS.md. Primary destination for confirmed conventions.

Tier 2: .Codex/agent-memory/ (agent learnings, loaded by morning agent)

Lessons learned from development and review cycles. Destination for agent-specific patterns that improve autonomous development quality.

  • MEMORY.md: Index file
  • cookbook.md: Topical knowledge by domain, common mistakes with occurrence counts

Tier 3: User auto-memory (~/.Codex/projects/.../memory/)

User preferences, workflow conventions, and project state.

Steps

1. Identify What Changed

Run git diff and git diff --cached to see current changes. Also review the conversation for patterns, gotchas, decisions, and fixes that came up during the session.

2. Categorize Findings

For each finding, determine the right destination:

Finding type Destination
Domain-specific patterns (security, performance, etc.) .Codex/rules/<domain>.md
ORM/framework gotchas, review lessons, recurring mistakes .Codex/agent-memory/cookbook.md (under matching domain section)
Agent workflow or project pattern changes .Codex/agent-memory/MEMORY.md
User preferences, workflow, collaboration style User auto-memory

3. Check for Duplicates

Before writing anything:

  1. Read the target file
  2. Check for existing entries about the same topic
  3. Update existing entries rather than adding duplicates
  4. Remove entries that are now outdated or wrong

Read the full file on GitHub · 110 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. yesterday First seen · 110 lines · 19 tokens per session scan A 7b408933f134

Subscribe to this mod's changes

source-command-extract-knowledge is a skill published in the GitHub repository xsovad06/sova (2 stars, last pushed today), licensed Apache-2.0. It adds 19 tokens to every session and 1,005 once invoked, about $0.0001 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-09-05.