with one click
assistant
Shared GPT + classifier inference gateway for persona monitor tasks. Routes validation and classification through a 4-tier cascade: heuristic → classifier → local GPT → scillm.
Shared GPT + classifier inference gateway for persona monitor tasks. Routes validation and classification through a 4-tier cascade: heuristic → classifier → local GPT → scillm.
Unified browser automation for AI agents. Uses surf-cli extension when available (full features), falls back to CDP (zero-config). Navigate, read with element refs, click, type, screenshot.
Universal LLM proxy on localhost:4001. Surfaces: chat/batch completions, scillm exec, OpenCode serve (coding delegate), OpenCode transport (DAG/SSE), standing Codex agents. Chutes, Gemini, Claude/Codex OAuth, OpenCode Go, Ollama. Auto-routes by model name. ZIP/PDF, JSON repair, batch pools.
Zero cognitive-load learning and querying skill. Learn about a topic or persona (e.g., "Lisa Feldman Barrett") by discovering, ingesting, and extracting knowledge — or ask questions against what's been learned. Supports multi-hour deep learning with progress tracking, persona profiles, and nightly incremental updates. Uses Federated Taxonomy for multi-hop graph traversal across knowledge domains. Composes: dogpile, discover-books, ingest-youtube, fetcher, extractor, memory, taxonomy, task-monitor.
Copy the last complete Cursor user/assistant turn to the clipboard (Codex-style /copy). On modern Cursor Agent installs reads ~/.cursor/projects/*/agent-transcripts/*.jsonl when SQLite bubbleId rows are absent. Use for ccopy, cursor copy, or export last Cursor turn.
Validate ask/scillm DAG JSON and render PHART 1.5 ASCII decision-tree charts for terminals and dry-run output. DAG.json in → chart on stdout or actionable errors on stderr (no tracebacks). Python 3.14+ with PHART from github.com/scottvr/phart.
Best practices for designing and structuring agent skills: SKILL.md frontmatter rules, triggers, progressive disclosure, and when to use scripts vs references.
| name | assistant |
| description | Shared GPT + classifier inference gateway for persona monitor tasks. Routes validation and classification through a 4-tier cascade: heuristic → classifier → local GPT → scillm. |
| internal | true |
| triggers | ["validate","classify","assistant validate","assistant classify"] |
| allowed-tools | ["Bash","Python"] |
| metadata | {"short-description":"Shared GPT + classifier inference gateway"} |
| env | [{"ASSISTANT_MODELS_DIR (default":"~/.pi/models)"},{"ASSISTANT_METRICS_DIR (default":"~/.pi/assistant)"}] |
| provides | ["assistant"] |
| composes | ["assistant-lab","monitor-skills","scillm","memory","task-monitor"] |
STOP. READ THIS ENTIRE SKILL.MD BEFORE CALLING ANY ENDPOINT.
Shared GPT + classifier + regressor inference gateway for persona monitor tasks.
The "warm pond" — /assistant can autonomously evolve its inference stack via
/assistant-lab (self-improvement workbench: create-*, *-lab, model factory)
while /monitor-skills provides observability across the skill ecosystem.
All system prompts for /assistant models MUST be iterated through /prompt-lab before being baked into training data via /create-gpt. NEVER hand-craft system prompts in Python strings.
/prompt-lab eval against ground truth first/prompt-lab compare across variants/prompt-lab find-minimum before /create-gpt| Tier | Method | Cost | Latency | Created By |
|---|---|---|---|---|
| 0 | Heuristic (regex/keyword/schema) | free | microseconds | hand-coded |
| 0.5 | Classifier (DistilBERT/sklearn) | free | 5-25ms | /create-classifier |
| 0.75 | Regressor (sklearn/XGB) | free | 5-10ms | /create-regressor |
| 1.5 | Shared GPT (Qwen3-0.6B GGUF) | free | ~200ms | /create-gpt |
| 2 | scillm (DeepSeek V3.2 via Chutes) | $0.12/1K | 2-5s | persona teacher |
Tier 2 persona teacher creates labels
↓ harvest.py extracts shadow.jsonl
↓
ModelFactory.auto_improve(task)
↓ reads shadow agreement rate
├─ >= 90%: promote (shadow_mode → false)
├─ 80-90%: plateau → /prompt-lab redesign
├─ 70-80%: /create-gpt or /create-classifier retrain
└─ < 70%: aggressive retrain + architecture change
↓
/gpt-lab benchmark or /classifier-lab evaluate
↓ passing? → promote to registry
↓
/monitor-skills detects drift or health issues
↓
/assistant-lab auto-improve (diagnose → train → eval → promote)
# Validate data through tier cascade
./run.sh validate --task qra-assessor --scope brandon_bailey --input '{"question":"...", "answer":"..."}'
# Classify text
./run.sh classify --task bridge-tagger --text "satellite vulnerability assessment"
# Register a new model
./run.sh register --task NAME --model-path PATH --type gpt|classifier --threshold 0.85
# Show registered models, hit rates, tier distribution
./run.sh status
# Run synthetic input through all tiers
./run.sh self-test
# Extract tier-2 escalations as training data
./run.sh harvest --since 24h
from assistant import validate, classify
# Validate with 4-tier cascade
result = validate(
input_data={"question": "What is CWE-79?", "answer": "Cross-site scripting..."},
task="qra-assessor",
scope="brandon_bailey",
)
print(result.tier, result.confidence, result.result)
# Classify with 3-tier cascade
result = classify(
text="satellite vulnerability assessment",
task="bridge-tagger",
)
print(result.prediction, result.confidence, result.source)
GatewayResult or ClassifyResult with tier, confidence, latency~/.pi/assistant/metrics.jsonl# Check what models a task needs
./run.sh factory needs --task stress-test-grader
# Train a GPT from harvested teacher labels
./run.sh factory train-gpt --task stress-test-grader
# Evaluate via /gpt-lab
./run.sh factory evaluate --task stress-test-grader --type gpt
# Promote a passing model (disables shadow mode)
./run.sh factory promote --task stress-test-grader --type gpt
# Autonomous improvement loop (decide + train + eval + promote)
./run.sh factory auto-improve --task stress-test-grader
from model_factory import ModelFactory
factory = ModelFactory()
result = factory.auto_improve("stress-test-grader")
# → reads shadow agreement, trains/evals/promotes as needed
"shadow_mode": true run local model AND scillm in parallel, log disagreements to shadow.jsonl, return the teacher (scillm) result. Enables safe ramp-up of new student models./assistant-lab, autonomously trains, evaluates, and promotes models when shadow mode shows a task needs improvement/monitor-skills watches the ecosystem (observability), /assistant-lab fixes problems (self-improvement). Together they form the warm pond where /assistant evolves.SYSTEM_PROMPT = "You are a QRA validator. Check if the answer is correct..."
.pi/skills/prompt-lab/run.sh eval --prompt qra_validator_v1 --model deepseek
# Only after prompt-lab validation → create training data
./run.sh factory train-gpt --task sparta-intent # 50 samples, 12 classes = 4/class!
./run.sh harvest --since 7d # accumulate shadow labels
./run.sh status # check sample counts before training
./run.sh factory promote --task stress-test-grader # no shadow comparison!
./run.sh factory auto-improve --task stress-test-grader
# auto-improve reads shadow agreement rate and decides