From asi
Analyzes AI agent threads across AMP, Claude, Codex, Warp for shared, pairwise, unique, and perplexing patterns using TIDAR decomposition, universal schema, and GF(3) trits. Useful for cross-system discovery.
npx claudepluginhub plurigrid/asi --plugin asiThis skill uses the workspace's default tool permissions.
Tree-structured Iterative Decomposition And Recombination for cross-system thread pattern discovery across AMP, Claude, Codex, and Warp.
Extracts undocumented Amp API patterns from local thread JSONs using DuckDB SQL and bash. Reveals tool usage stats, MCP servers, and message schemas for API discovery.
Extracts dialog from Claude Code or Codex CLI history, classifies sessions by topic, and analyzes user messages across 6 academic dimensions for tagged pattern reports.
Share bugs, ideas, or general feedback.
Tree-structured Iterative Decomposition And Recombination for cross-system thread pattern discovery across AMP, Claude, Codex, and Warp.
Analyzes threads across multiple AI agent interaction surfaces using ordered locale site semantics:
Ordered Locale: Complete Heyting algebra (frame) L with compatible preorder ≤ satisfying open cone condition. Each thread lives in an ordered locale (its workspace/project).
Ordered Locale Site: Grothendieck site on ordered locale with coverage relation J. Cross-system observation uses ordered locale sites where sheaves model behavioral coalgebra.
| Source | Threads | Sessions | Messages |
|---|---|---|---|
| AMP | 616 | - | 2,535 tool calls |
| Claude | - | 236 | 36,057 messages |
| Codex | - | 36+ | ~400 records |
| Total | 888 canonical threads |
ATOMIC FIELDS (required):
thread_id : string - unique session/thread identifier
timestamp : int64 - Unix ms (or ISO-8601 converted)
workspace : string - absolute path to project/cwd
role : enum - user|assistant|system|tool
content : string - message text content
OPTIONAL ATOMIC:
model : string - model identifier
originator : string - source tool (amp, claude, codex)
DERIVED FIELDS:
message_count : COUNT(messages in thread)
tool_call_count : COUNT(tool invocations)
acceptance_rate : 1 - (reverted / total)
trit : GF(3) from hash(thread_id) mod 3 - 1
role_semantic : trit → {validator, coordinator, generator}
Current cross-system trit distribution:
Need 1 more MINUS thread or 2 more ERGODIC threads to balance.
# Run TIDAR analysis
python3 src/universal_thread_schema.py
# Query specific source
duckdb trit_stream.duckdb -c "SELECT * FROM amp_threads LIMIT 10"
jq -s '.' ~/.claude/history.jsonl | head
.org files have 45% revert rate vs 0% for .clj/.jl/.bbdanger-full-access sandbox policy in productionpastedContents used in only 0.5% of entriesEach thread's trit determines its Gay-MCP hue:
Visualization: scripts/gay_stream.py --threads
duckdb for AMP queriesjq for Claude JSONL parsing