agentleFS
IgorGanapolskyIgorGanapolsky/ThumbGate/.agents/skills/halo-trace-optimize-not-clone/SKILL.md

halo-trace-optimize-not-clone

Skill29 starsChanged 7 months agoMITView on GitHub

HALO (inference.net/products/halo) is a trace-optimization model, not a ThumbGate clone. Steal the Trace-to-Fix FORMAT (mine redundant tool thrashing, retry stalls, expensive spans, unhandled denies -> rank by impact -> synthesize pre-action gates) onto existing audit-trail / auto-promoted-gates rails. Never vendor Inference.net, Catalyst SDK, or cloud OTLP export. Slash: /halo-trace-optimize-not-clone.

  • Installs packages
Files
SKILL.md

HALO Trace Optimizer — compare, do not clone

Goal

Analyze real agent trace logs (audit-trail.jsonl, action-log.jsonl) to detect repeated failure modes (tool loops, cascading retries, runaway spans) and synthesize concrete, executable pre-action gates and eval fixtures before cost or damage compounds.

Constraints

NEVERALWAYS
Clone Inference.net Catalyst / cloud backendMap trace analysis onto local audit-trail.jsonl
pip install inference-net / import engine.agentsPure local node analysis in scripts/halo-trace-optimizer.js
Export prompt traces over the networkLocal receipts + shadow audit
Quote vendor optimization numbers as oursMeasure local task-outcomes and prevented loop calls
Require human 👎 for obvious tool thrashingAutomatically detect 3+ duplicate calls and propose gate

HARD fail closed. REFUSE SKU clones.

Reference

  • https://inference.net/products/halo/
  • scripts/halo-trace-optimizer.js
  • scripts/auto-promote-gates.js · scripts/gates-engine.js · scripts/agent-action-inventory.js
  • .thumbgate/auto-promoted-gates.json

Examples (show, don't tell)

Weak: Install an external observability agent and wait for cloud report.

Gold:

$ npx thumbgate halo-trace-optimizer --json
ok: true
tracesAnalyzed: 42
failureModesFound: 2
$ npx thumbgate halo-trace-optimizer --clone-halo --json
halo_clone_refused

Procedures

npx thumbgate halo-trace-optimizer --json
npx thumbgate halo-trace-optimizer --map-only
npx thumbgate halo-trace-optimizer --apply --json
npm run test:halo-trace-optimizer

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.