roi-learn
Detect reusable patterns from completed runs and propose a human-gated capability.
Skill by instagrim-dev
Chalk Labs
Need help deploying roi-learn?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/instagrim-dev-roi-learn
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/roi-learn
What's inside
- Skill name
roi-learn- Description
- Detect reusable patterns from completed runs and propose a human-gated capability. The detection is the work; promotion is a separate human decision.
- License
- MIT
- Instructions
- 88 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# roi:learn — pattern detection and capability proposal
This skill runs the learning pass on a completed mission to detect reusable
patterns and propose a capability. It owns one stage: **read completed
work → detect patterns → propose capability → next-step pointer**.
The output is **not** a promoted capability. Promotion is a separate
operator action via `capability_promote` (a human gate by design — patterns
proposed without proof of repeated success would pollute the registry).
**A `noop` result is expected and not an error** until at least 3 successful
capability activations exist for the mission. Early missions almost always
return `noop`.
## Inputs
1. **Mission ID** required — must reference a mission with at least one
completed, published run.
## Procedure
1. Confirm the mission is in a learning-eligible state:
```bash
node roi/scripts/lifecycle.mjs status_get '{"mission_id":"<id>"}'
```
Look at `summary.learning_readiness`. If empty or shows insufficient
activation history, expect a `noop` from `enlighten_run`.
2. Run the learning pass:
```bash
node roi/scripts/lifecycle.mjs enlighten_run '{"mission_id":"<id>"}'
```
The output is one of:
- `{"status": "noop", "reason": "..."}` — no pattern with sufficient
repetition. Expected outcome for early missions.
- `{"status": "pattern_detected", "pattern": {...}, "proposal": {...}}` —
a candidate capability has been proposed.
3. If a proposal exists:
- Read the proposal (`pattern.detect` lineage, `proposal.capability`).
- Decide whether to promote. Promotion is irreversible without an
explicit demote, so judge whether the pattern is broadly applicable
and not just a coincidence of this mission's structure.
- To promote:
```bash
node roi/scripts/lifecycle.mjs capability_promote '<json>'
```
Promotion is **operator-gated**: do not auto-call it. Surface the
proposal to the operator and let them decide.
## What this skill does NOT do
- Does not auto-promote (`capability_promote` is a deliberate human gate).
- Does not detect patterns from in-flight runs — wait until a publication
marker exists.
- Does not delete patterns (use `pattern_list` to inspect; demotion is a
separate flow if needed).
- Does not retain learning automatically. Pattern detection is the work;
storage of the proposal is durable; promotion is operator-only.
## Reporting
Close with:
```
mission_id: <id>
status: noop | pattern_detected
pattern_id: <id if any>
proposal_id: <id if any>
proposed_capability: <name if any>
next_actions: <quoted from helper output>
→ <one sentence explaining what that step does>
```
On `noop`, the bridge sentence should explain why — usually "fewer than 3
successful activations on this mission." On `pattern_detected`, the bridge
should name the pattern's apparent applicability and recommend
`capability_promote` only if the operator agrees it generalizes.From instagrim-dev/roir, MIT.
More from instagrim-dev/roir
- 0.544score
roi-drive
instagrim-dev
Thin ROI lifecycle orchestrator.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
roi-edit
instagrim-dev
Respond to review findings with plan revisions or a follow-on run.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
roi-draft
instagrim-dev
Create a run on the latest plan.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
roi-source
instagrim-dev
Record structured source material and findings for an ROI mission.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
roi-cancel
instagrim-dev
Cancel an in-flight or paused run, marking pending tasks and activations as cancelled.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
roi-inspect
instagrim-dev
Show current ROI mission summary, draft state, traces, reviews, and learning opportunities.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
roi-publish
instagrim-dev
Record a publication or handoff marker on a passing run.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
roi-start
instagrim-dev
Start a new ROI mission and seed the first brief.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
roi-run
instagrim-dev
Create or resume an ROI run and surface any orientation admission pause.
SkillBFreshness: B★ 1Claude Code +9 - 0.540score
roi-clarify
instagrim-dev
Refine the latest brief with constraints, success criteria, assumptions, and non-goals.
SkillBFreshness: B★ 1Claude Code +9 - 0.540score
roi-outline
instagrim-dev
Generate structured ROI plans with waves, dependencies, and falsifiable verification targets.
SkillBFreshness: B★ 1Claude Code +9 - 0.540score
roi-go
instagrim-dev
Implement ROI plans in the product repo — wave-ordered delivery, oracle execution, and substantive evidence capture.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 30, 2026 (5 months ago)
- Last release
- Aug 1, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/instagrim-dev/roir
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from instagrim-dev
- 0.544score
roi-drive
instagrim-dev
Thin ROI lifecycle orchestrator.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
roi-edit
instagrim-dev
Respond to review findings with plan revisions or a follow-on run.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
roi-cancel
instagrim-dev
Cancel an in-flight or paused run, marking pending tasks and activations as cancelled.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
roi-draft
instagrim-dev
Create a run on the latest plan.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
roi-inspect
instagrim-dev
Show current ROI mission summary, draft state, traces, reviews, and learning opportunities.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
roi-publish
instagrim-dev
Record a publication or handoff marker on a passing run.
SkillBFreshness: B★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get roi-learn running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
roi-learn skill. Agent Mart. https://agentmart.dev/skills/instagrim-dev-roi-learn (last updated 2026-10-24)