Gitagent wiki-ingest
Ingest a raw source document into the wiki. Reads the source, extracts key information, creates or updates wiki pages, maintains cross-references, and logs the operation. Use when the user adds a new source or says 'ingest this'.
install
source · Clone the upstream repo
git clone https://github.com/open-gitagent/gitagent
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/open-gitagent/gitagent "$T" && mkdir -p ~/.claude/skills && cp -r "$T/examples/llm-wiki/skills/wiki-ingest" ~/.claude/skills/open-gitagent-gitagent-wiki-ingest && rm -rf "$T"
manifest:
examples/llm-wiki/skills/wiki-ingest/SKILL.mdsource content
Wiki Ingest
Process a new source document and integrate its knowledge into the wiki.
Workflow
Step 1: Read the source
Read the full source document from
knowledge/. Identify:
- Key entities (people, organizations, concepts, technologies)
- Main claims and findings
- Relationships between entities
- Data points and statistics
- Contradictions with or confirmations of existing knowledge
Step 2: Discuss with the user
Before writing, share a brief summary of key takeaways. Ask:
- What aspects to emphasize?
- Any entities or concepts to prioritize?
- Should this update existing pages or create new ones?
Step 3: Update the wiki
For each significant entity or concept found in the source:
- Check if a wiki page exists — read
memory/wiki/index.md - If page exists — read it, integrate new information, update the "Sources" section, update frontmatter
date andupdatedsource_count - If page doesn't exist — create a new page in
with proper frontmatter, content, and source citationsmemory/wiki/ - Update cross-references — add
in both directions between related pages[[wikilinks]]
Step 4: Write a source summary page
Create
memory/wiki/sources/<source-name>.md with:
- One-paragraph summary
- Key claims extracted
- Entities mentioned (with wikilinks to their pages)
- Date ingested
Step 5: Update index and log
- Update
— add/update entries for all pages touchedmemory/wiki/index.md - Update
— ensure the source is cataloged with tags and priorityknowledge/index.yaml - Append to
:memory/log.md## [YYYY-MM-DD] ingest | Source Title - Pages created: [list] - Pages updated: [list] - Key findings: [1-2 sentences]
Example
User drops
knowledge/quantum-computing-review-2026.pdf and says "ingest this".
- Read the paper, identify entities: quantum computing, error correction, IBM, Google, topological qubits
- Discuss key findings with user
- Create/update:
,quantum-computing.md
,error-correction.md
,ibm.mdgoogle.md - Create:
sources/quantum-computing-review-2026.md - Update
with all new/updated pagesindex.md - Append ingest entry to
log.md
A single source might touch 5-15 wiki pages. This is normal and expected.