sea-learn-loop

sea-learn-loop is a skill for Claude Code, Codex from donaldfilimon/abi. It costs 71 tokens per session (874 once invoked), scanned A, original, Apache-2.0.

A test driver for the abi command line's SEA self-learning completion path. It checks that evidence is stored, then recalled after reopening a temporary store.

In plain words
What is it for?
Runs `abi complete --learn` twice, checks evidence recall and adaptation, and confirms that the learning record persists.
Why use it?
It verifies persistence across separate runs instead of only showing that one completion worked, while keeping test data away from the user's live store.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Runs abi complete --learn twice, checks evidence recall and adaptation, and confirms that the learning record persists.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/donaldfilimon/abi/sea-learn-loop
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add donaldfilimon/abi --skill sea-learn-loop
Clone the repo
git clone --depth 1 https://github.com/donaldfilimon/abi

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sea-learn-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/donaldfilimon/abi/sea-learn-loop/github.svg)](https://agentmods.dev/skills/donaldfilimon/abi/sea-learn-loop)
Your own site
<a href="https://agentmods.dev/skills/donaldfilimon/abi/sea-learn-loop"><img src="https://agentmods.dev/badge/skills/donaldfilimon/abi/sea-learn-loop/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sea-learn-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/donaldfilimon/abi/sea-learn-loop"><img src="https://agentmods.dev/badge/skills/donaldfilimon/abi/sea-learn-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 874 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.00874
Opus 5.5 $0.00028 $0.00350
Sonnet 5.5 $0.00014 $0.00175
Haiku 4.5 $0.00007 $0.00087

Measured 15d ago against content hash 400569787912, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sea-learn-loop scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 15d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (learn.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/sea-learn-loop/SKILL.md · 65 lines

How it starts

The opening of the file, as written. The whole thing — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.

sea-learn-loop — exercise the SEA self-learning completion

Driver: .agents/skills/sea-learn-loop/learn.sh (paths relative to repo root). CLI check — evidence is the RESULT: line and both passes' metadata lines.

SEA is always available in the Rust workspace. The default run exercises the real SEA path. The first pass starts with no evidence; the second must recall the first pass's persisted record after reopening the scratch store. Both must report successful persistence and adaptation. --sea is accepted for compatibility and does not change the build path.

Prerequisites

  • Pinned stable Rust 1.99.1 via ./tools/cargo.sh (never bare Homebrew cargo).

Run (agent path)

.agents/skills/sea-learn-loop/learn.sh                       # default SEA-on path
.agents/skills/sea-learn-loop/learn.sh "my custom prompt"    # custom input
.agents/skills/sea-learn-loop/learn.sh --sea                 # accepted; no-op on build path

It builds the locked CLI into the same target directory it executes, creates a unique scratch store under target/skill-scratch/ (never the live ~/.abi/), overrides inherited persistence settings and runs abi complete --learn -- "<input>" in two separate processes. It requires learn=true, local generation provenance, persisted=true, adapted=true, and nonzero second-pass evidence_count on the metadata line, not inside the generated response. Its own scratch directory is removed on exit; other runs' stores are untouched. Prints RESULT: PASS — SEA learning persisted, adapted and recalled across processes. (exit 0) or RESULT: FAIL (nonzero). Audit-vetoed prompts intentionally fail this acceptance smoke because they must not learn.

Gotchas

  • First-pass evidence_count=0 is expected in a new scratch store, but a zero second-pass count fails the cross-process recall check.
  • The requested-model line shows the catalog default (claude-fable-5) while provider=local and generation_engine=persona-template establish that --learn is not a live API call; no credentials are needed.
  • Every metadata field rides that one first line, including learn=true evidence_count=N adapted=B self_learn_cycle=... recall_ready=.... self_learn_cycle reports what actually happened (persistence+adaptation+recall only when the learning write committed, adaptation-only when it was skipped or disabled, adaptation-only+write-unknown when the outcome is unknown) — never a completed cycle that the adjacent persisted= and wdbx_status= fields contradict. Do not move the learn fields onto their own line: the smoke reads only the first line, which is the boundary that stops markers repeated in generated response text from satisfying a persistence check.
  • First build may compile the workspace; later ./tools/cargo.sh build -p abi-cli runs are incremental.
  • --learn is local persona-template learning, not live-provider or bridge inference. Combining it with --live or a local-bridge model is rejected; this does not train language-model weights.

Read the full file on GitHub · 65 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 15d ago First seen · 65 lines · 71 tokens per session scan A 400569787912

Subscribe to this mod's changes

sea-learn-loop is a skill published in the GitHub repository donaldfilimon/abi (18 stars, last pushed 5d ago), licensed Apache-2.0. It adds 71 tokens to every session and 874 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-15.

Related

sea-learn-loop compared with skills from other repositories

sea-learn-loop next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sea-learn-loopdonaldfilimon/abiSkill185d agoApache-2.0A71Claude Code, Codex
torch-geometricsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A41Claude Code, Codex
pyhealthsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A109Claude Code, Codex
deepchemsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A78Claude Code, Codex
shapsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A109Claude Code, Codex
umap-learnsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A43Claude Code, Codex
zarr-pythonsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A42Claude Code, Codex