Skip to content
cccskills
FreePublished on GitHub

learning-loop

Explain and control the stellar-build learning loop — the system that improves your skills from how you use them. Use when the user says "learning loop", "how does the learning loop work", "what is the learning loop", "self-improving skills", "stellar-loop", "show my skill usage", "is tracing on", or wants an overview / status of the local trace-capture + optimize + bench cycle.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md3.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

What the learning loop is

stellar-build ships with a local learning loop: the more you use your skills, the better they get — without anything leaving your machine. It mirrors OpenJarvis's jarvis optimize skills / jarvis bench skills cycle, adapted for markdown skills.

Three moving parts:

  1. Capture — a skill use is a multi-turn span, so capture is decoupled from "skill became active". A PostToolUse:Skill hook marks which skill is resident; a Stop hook records each turn's real assistant output; and a SessionEnd hook closes the span with a summary, counting it as one activation. Everything lands in ~/.stellar-build/traces/<day>.jsonl. Fully local. Opt out with STELLAR_BUILD_NO_TRACE=1.
  2. Optimize (/optimize-skills) — compiles those traces into sharper skills: tightened triggers/instructions and few-shot examples mined from your own successful runs. Every edit is backed up and reversible.
  3. Bench (/bench-skills) — scores skills on held-out prompts so you can measure whether an optimization actually helped.
   use skills  ──▶  ~/.stellar-build/traces/*.jsonl
                          │
              /optimize-skills  (DSPy-style compile)
                          │
                          ▼
            sharper ~/.claude/skills/<skill>/SKILL.md   ◀── stellar-loop restore (undo)
                          │
                /bench-skills  (measure the lift)

What to do when invoked

  • Overview / "how does it work" → explain the three parts above, then point to the two action skills and the CLI.
  • "status" / "is tracing on" / "show my usage" → run the CLI and relay the output:
    • stellar-loop status — install + capture + hook state, trace/optimization counts
    • stellar-loop stats — per-skill usage from local traces
    • stellar-loop tail — most recent trace records The CLI is installed at ~/.stellar-build/bin/stellar-loop (add ~/.stellar-build/bin to PATH, or call it by full path).
  • "optimize" / "improve my skills" → hand off to the optimize-skills skill.
  • "benchmark" / "did it help" → hand off to the bench-skills skill.
  • "undo" / "restore" → stellar-loop restore <skill> reverts the last optimization for that skill from its backup.

Data & privacy

  • Everything lives under ~/.stellar-build/ (traces/, backups/, bench/, optimizations.jsonl). Override the root with STELLAR_BUILD_HOME.
  • Nothing is transmitted anywhere — no API calls, no telemetry. The "optimizer" is your own agent session reasoning over local files.
  • Result previews are truncated and examples are generalized before they ever land in a skill, so traces and learned blocks should not accumulate secrets. Wipe anytime with stellar-loop clear (--all also clears backups).

Quick reference

GoalDo this
See if it's workingstellar-loop status
See what you use moststellar-loop stats
Make skills sharper/optimize-skills (or stellar-loop optimize)
Measure the lift/bench-skills (or stellar-loop bench)
Undo an optimizationstellar-loop restore <skill>
Turn capture offexport STELLAR_BUILD_NO_TRACE=1
Delete all tracesstellar-loop clear

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Push the LLM to reconsider, refine, and improve its recent output. Use when user asks for deeper critique or mentions a known deeper critique method, e.g. socratic, first principles, pre-mortem, red team.

The English summary is being prepared. Showing the original description.

stellar-zk/stellar-zk4Updated Oct 19, 2026

Agentic and machine-to-machine payments on Stellar. Covers x402 (HTTP 402 paid APIs via OZ Channels facilitator, fee-sponsored clients) and MPP (Machine Payments Protocol) in both Charge mode (per-request SAC) and Channel mode (off-chain commits, high-frequency). Defaults to USDC (SEP-41 SAC) on `stellar:testnet`/`stellar:pubnet` (CAIP-2). Use when selling a paid API to AI agents, building an x402 client, or designing a payment-channel architecture for high-frequency agent traffic.

The English summary is being prepared. Showing the original description.

stellar-zk/stellar-zk4Updated Oct 19, 2026

assets

Free

Stellar Assets (classic) + trustlines + Stellar Asset Contract (SAC) bridge to smart contracts. Covers asset issuance, distribution, authorization flags, clawback, regulated assets, trustline management, and the SAC interop layer that exposes classic assets as SEP-41 contract tokens. Use when tokenizing real-world assets, issuing stablecoins, managing trustlines, or bridging classic assets to smart contracts.

The English summary is being prepared. Showing the original description.

stellar-zk/stellar-zk4Updated Oct 19, 2026

Benchmark stellar-build skills to measure quality and the lift from optimization. Use when the user says "bench my skills", "bench-skills", "benchmark skills", "did optimization help", "measure my skills", "stellar-loop bench", or wants to quantify whether /optimize-skills actually improved things. Held-out eval prompts scored by an LLM judge, reproducible with fixed seeds. Fully local.

The English summary is being prepared. Showing the original description.

stellar-zk/stellar-zk4Updated Oct 19, 2026

Facilitate interactive brainstorming sessions using diverse creative techniques and ideation methods. Use when the user says help me brainstorm or help me ideate.

The English summary is being prepared. Showing the original description.

stellar-zk/stellar-zk4Updated Oct 19, 2026

Technical documentation specialist and knowledge curator. Use when the user asks to talk to Bri or requests the tech writer.

The English summary is being prepared. Showing the original description.

stellar-zk/stellar-zk4Updated Oct 19, 2026

See all skills by stellar-zk

Report a problem with this skill