Asi skill-stats
Skill statistics, thread usage analysis, GF(3) conservation tracking, and probe verification for the 443+ skill ecosystem
install
source · Clone the upstream repo
git clone https://github.com/plurigrid/asi
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/plurigrid/asi "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/skill-stats" ~/.claude/skills/plurigrid-asi-skill-stats && rm -rf "$T"
manifest:
skills/skill-stats/SKILL.mdsource content
Skill Stats
Analyze skill ecosystem health, thread usage, and GF(3) conservation.
Quick Commands
# Count skills ls ~/.claude/skills/*/SKILL.md | wc -l # Trit distribution grep -h "^trit:" ~/.claude/skills/*/SKILL.md | sort | uniq -c # Skills with probes grep -l "^probe:" ~/.claude/skills/*/SKILL.md | wc -l # Recently modified ls -lt ~/.claude/skills/*/SKILL.md | head -20
GF(3) Conservation Check
# Calculate global trit sum grep -h "^trit:" ~/.claude/skills/*/SKILL.md | \ awk '{sum += $2} END {print "GF(3) Sum:", sum}'
Target: Sum should be 0 (or divisible by 3).
Thread-Skill Usage Analysis
Use
find_thread to discover skill usage patterns:
find_thread query="skill after:7d" limit=20
Then extract skill mentions from thread summaries.
Probe Verification
Run all skill probes:
for skill in ~/.claude/skills/*/SKILL.md; do name=$(dirname $skill | xargs basename) probe=$(grep "^probe:" $skill | sed 's/^probe: *//') if [ -n "$probe" ]; then echo "Probing: $name" eval "$probe" 2>&1 | head -3 fi done
Dashboard Generation
bb ~/ies/scripts/asi_skill_selector.bb list > skill_inventory.txt
Integration with DuckDB
-- Load skill metadata into DuckDB CREATE TABLE skill_stats AS SELECT skill_name, trit, has_probe, last_modified, usage_count FROM read_json('skill_metadata.json'); -- GF(3) balance check SELECT SUM(trit) as global_balance FROM skill_stats; -- Most used skills SELECT skill_name, usage_count FROM skill_stats ORDER BY usage_count DESC LIMIT 20;
Key Metrics
| Metric | Query |
|---|---|
| Total skills | |
| With trit | |
| With probe | |
| MINUS count | |
| ERGODIC count | |
| PLUS count | |
Skill Health Score
Health = (skills_with_trit / total) × (skills_with_probe / total) × (1 - |gf3_sum| / total)
Target: Health > 0.8
Related Skills
(0) - Dispatch balanced tripletstriadic-skill-orchestrator
(0) - CLI for skill selectionasi-skill-selector
(-1) - Skill dispersal verificationbisimulation-game
(0) - Self-modification trackingautopoiesis
Autopoietic Marginalia
The interaction IS the skill improving itself.
Every use of this skill is an opportunity for worlding:
- MEMORY (-1): Record what was learned
- REMEMBERING (0): Connect patterns to other skills
- WORLDING (+1): Evolve the skill based on use
Add Interaction Exemplars here as the skill is used.