askill
retro

retroSafety 92Repository

Standalone knowledge extraction — process retrospectives for knowledge items

0 stars
1.2k downloads
Updated 2/19/2026

Package Files

Loading files...
SKILL.md

Skill: retro

Standalone knowledge extraction skill. Can process any retrospective (new or old) to extract, tag, deduplicate, and link knowledge items.

Inputs

  • Retrospective file: Path to a .swarm/retrospectives/{ID}-retro.md file
  • Optional: --reprocess flag to re-extract from an already-processed retrospective

Steps

Step 1: Read Context

  1. Read .swarm/config.md for project conventions and knowledge settings.
  2. Read the retrospective file.
  3. Use the swarm_list tool with directory set to the absolute path of .swarm/knowledge to list existing knowledge items and check for duplicates.

Step 2: Parse Retrospective

  1. Extract the "What Went Well" section for P (Praxeology) candidates.
  2. Extract the "What Could Improve" section for Q (Qualia) candidates.
  3. Extract the "Key Decisions" table for E (Epistemology) candidates.
  4. Extract "Learnings by Agent" for all dimensions.
  5. Extract "Knowledge to Preserve" table if present.
  6. Parse mini-retrospective "Knowledge hints" lines for tagged items.

Step 3: Extract Knowledge Programmatically

Use the swarm_extract_knowledge tool with:

  • retro_path: absolute path to the retrospective file
  • story_id: the story ID
  • repo: the repository name

Review the result for extracted items. The tool handles:

  • Parsing the retrospective body
  • Classifying items by E/Q/P dimension
  • Assigning scope and domain
  • Writing knowledge files to .swarm/knowledge/

Step 4: Deduplicate

  1. Compare each candidate against existing knowledge items in .swarm/knowledge/.
  2. Check for semantic similarity in title and description.
  3. If a duplicate is found:
    • If the new item has higher confidence, set supersedes to the old item's ID.
    • If the old item is better, skip the new candidate.
  4. If items are complementary, keep both and cross-reference via tags.

Step 5: Update Retrospective

  1. Add references to all extracted knowledge items in the retrospective's knowledge_extracted frontmatter array:
    knowledge_extracted:
      - id: "K-PROJ-003-1"
        dimension: "epistemology"
        title: "API versioning pattern"
    

Step 6: Prepare for Scout Hoisting

  1. For items marked hoistable: true, log them as candidates for Scout-level consolidation.
  2. Output a summary of hoistable items to stdout for visibility.

Outputs

  • Knowledge item files: .swarm/knowledge/{STORY-ID}-{N}.md
  • Updated retrospective frontmatter with knowledge_extracted references
  • Summary of extracted and hoistable items printed to stdout

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

72/100Analyzed 2/24/2026

Well-structured skill for extracting knowledge from retrospectives with clear 6-step process. Uses specific internal tools (swarm_list, swarm_extract_knowledge) making it project-specific. Good actionability with detailed steps but lacks trigger/when-to-use section. Located in dedicated skills folder which is a plus. Content is technically sound but tied to internal .swarm system architecture."

92
80
65
68
78

Metadata

Licenseunknown
Version-
Updated2/19/2026
Publisherhgeldenhuys

Tags

api