Skip to content
Back to skills

Knowledge Base

ASecurity

Maintain the canonical local agent-engineering knowledge corpus under ~/.codex/knowledge: ingest an accepted source, refresh an existing article from its primary source, repair metadata, reindex search, or rebuild the generated browser. Use only when the operator asks to change or maintain that corpus. Do not use for evaluating whether research should be adopted or for recalling session history.

  • 9 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 6, 2026
toolspythongobash

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add ingpoc/SKILLS --skill knowledge-base --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Knowledge Base?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Knowledge Base
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ingpoc-knowledge-base/badge)](https://www.skillsdirectory.com/skills/ingpoc-knowledge-base)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: knowledge-base
description: "Maintain the canonical local agent-engineering knowledge corpus under ~/.codex/knowledge: ingest an accepted source, refresh an existing article from its primary source, repair metadata, reindex search, or rebuild the generated browser. Use only when the operator asks to change or maintain that corpus. Do not use for evaluating whether research should be adopted or for recalling session history."
allowed-tools: Read Write Bash
---

# Knowledge Base

The Markdown articles under `~/.codex/knowledge/raw/` are canonical. Search indexes and the HTML browser are generated views.

## Select one operation

- **Ingest:** add an operator-approved source as a new article.
- **Refresh:** update an existing article from its canonical primary source.
- **Maintain:** repair metadata, links, taxonomy, or generated views without adding research claims.
- **Query:** use the `workflow knowledge` commands; do not mutate the corpus.

## Mutation procedure

1. Read [frontmatter schema](references/frontmatter-schema.md) and the narrow operation-specific reference.
2. For external material, browse the canonical primary source using the current web capability. Do not rely on unavailable legacy tool names.
3. Keep sourced facts, inference, and operator decisions distinct. Never store credentials, customer content, or raw session transcripts.
4. Write or update one canonical Markdown article; do not edit the generated HTML browser.
5. Run the corpus lint and `workflow knowledge reindex`.
6. Rebuild the browser with `python3 scripts/build_browser.py` after a content mutation.
7. Query the changed topic and inspect the generated article before declaring success.

## Delegation

Use direct deterministic work for one or two articles. A bounded read-only sidecar is appropriate only for multiple independent primary sources; the main agent owns adoption decisions and writes.

## Boundary

- `research-evaluator`: decides whether external research should be adopted.
- `knowledge-base`: stores and retrieves accepted engineering knowledge.
- `recall`: reconstructs local session history.
- `context-graph`: stores project decision traces.

## References and scripts

- [frontmatter schema](references/frontmatter-schema.md)
- [learning and evidence rules](references/learning.md)
- [canonical surface URLs](references/surface-urls.md)
- [ingest gotchas](references/ingest-gotchas.md)
- `scripts/detect_updates.py` — compare tracked upstream versions.
- `scripts/build_browser.py` — rebuild the derived HTML browser.

Files in this skill

  • SKILL.md2.5 KB
  • evals/evals.json4.8 KB
  • references/frontmatter-schema.md7.7 KB
  • references/ingest-gotchas.md8.7 KB
  • references/learning.md2.8 KB
  • references/surface-urls.md9.4 KB
  • scripts/build_browser.py22.6 KB
  • scripts/detect_updates.py7.5 KB
  • scripts/validate.sh1.9 KB
  • state.json1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.