forge

Solid

Mine transcripts for knowledge - decisions, learnings, failures, patterns. Triggers: "forge insights", "mine transcripts", "extract knowledge".

AI & Automation 430 stars 152 forks Updated 3 days ago Apache-2.0

Install

View on GitHub

Quality Score: 91/100

Stars 20%
88
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Forge Skill **Typically runs automatically via SessionEnd hook.** Extract knowledge from session transcripts. ## How It Works The SessionEnd hook runs: ```bash ao forge transcript --last-session --queue --quiet ``` This queues the session for knowledge extraction. ## Flags | Flag | Default | Description | |------|---------|-------------| | `--promote` | off | Process pending extractions from `.agents/knowledge/pending/` and promote to `.agents/learnings/`. Absorbs the former extract skill. | ## Promote Mode Given `$/forge --promote`: ### Promote Step 1: Find Pending Files ```bash ls -lt .agents/knowledge/pending/*.md 2>/dev/null ls -lt .agents/ao/pending.jsonl 2>/dev/null ``` If no pending files found, report "No pending extractions" and exit. ### Promote Step 2: Process Each Pending File For each file in `.agents/knowledge/pending/`: 1. Read the file content 2. Validate it has required fields (`# Learning:`, `**Category**:`, `**Confidence**:`) 3. Copy to `.agents/learnings/` (preserving filename) 4. Remove the source file from `.agents/knowledge/pending/` ### Promote Step 3: Process Pending Queue ```bash if [ -f .agents/ao/pending.jsonl ] && [ -s .agents/ao/pending.jsonl ]; then # Process each queued session cat .agents/ao/pending.jsonl # After processing, clear the queue > .agents/ao/pending.jsonl fi ``` ### Promote Step 4: Report ``` Promoted N learnings from pending → .agents/learnings/ Queue cleared. ``` **Done.** Return immediately after rep...

Details

Author
hashgraph-online
Repository
hashgraph-online/awesome-codex-plugins
Created
2 months ago
Last Updated
3 days ago
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category