com um clique
recall-commit
Commit with inline learning capture for Recall Labs projects.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Commit with inline learning capture for Recall Labs projects.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Same-session deep-verification methodology. Chain-of-Verification with Saboteur / New Hire / Security Auditor personas. For gate-level cross-model verification that writes the prosecution doc, use /verify — which uses this skill's methodology as its payload.
End-to-end orchestrator for building a trading executor from data collection through live deployment. Use when the user asks to build an executor, create a new strategy, implement a trading system, or says 'build me an executor for X'. Also use when resuming an in-progress executor build — the skill reads the executor directory to determine current stage and picks up where it left off. Covers the full lifecycle: data collection, scoring, strategy promotion, and live deployment. Cross-model `/verify` is the single gate at PROMOTE and LIVE. This skill should be used for ANY new executor work in this repo, even partial tasks like 'add scoring to my executor' or 'wire up live mode'.
Launch Anthropic Claude as an independent agent for code review, verification, and reasoning. Uses the claude CLI with full file system access, or the API for pure reasoning tasks. Primarily for teams whose primary agent is Codex or Gemini and want a Claude read on the work.
Set up or repair codecontext adoption in a project. Use this whenever the user wants to add @context annotations to a repo, install the codecontext toolchain, update AGENTS.md guidance, improve agent workflows around decision capture, or audit whether an existing codecontext setup is coherent. Prefer this skill over vague "document the tool" work: it is specifically for making a repo actually usable with codecontext.
Launch OpenAI Codex/GPT as an independent agent for code review, verification, and precision analysis. Uses the codex CLI with full file system access, or the API for pure reasoning tasks.
Create and maintain executor strategy overview presentations. Use when scaffolding a new executor, updating strategy documentation, or when the QA check requires a strategy-overview.marp.md file. Generates Marp slide decks with codePaths tracking for CI enforcement.
| description | Commit with inline learning capture for Recall Labs projects. |
| metadata | {"github-path":"skills/recall-commit","github-ref":"refs/tags/v1.1.0","github-repo":"https://github.com/recallnet/recall-skills","github-tree-sha":"47f0db918aaf9e4ee3e914053b753a2ebca03984"} |
| name | recall-commit |
Conventional commit with built-in learning capture. One commit, one atomic unit of work + knowledge.
Verify this is a Recall Labs project:
git remote -v 2>/dev/null | grep -q recallnet || test -f learnings/AGENT-LEARNINGS.md || test -f AGENT-LEARNINGS.md
Check ALL remotes, not just origin. If neither condition is true, warn: "This doesn't appear to be a Recall Labs project (no recallnet remote, no learnings/AGENT-LEARNINGS.md). Use a standard commit instead." Allow the user to override if they confirm they want to proceed.
Gather before starting:
git statusgit diff HEADgit branch --show-currentgit log --oneline -5Stage changes:
git add -A for broad changes; use specific files when only a subset should be committed..env, credentials.json, *.pem). Warn if requested.Compose commit message:
Subject line (50 chars max):
type(scope): imperative description
Types: feat, fix, refactor, test, docs, chore, perf, ci, build, style
Body (wrapped at 72 chars):
## Summary
What and why in 1-2 sentences.
## Changes
- Change 1
- Change 2
## Why
Rationale if non-obvious. Omit if summary is sufficient.
## Testing
How verified. Omit for docs-only changes.
Three steps, in order. Do not skip Step 1 to jump into routing or file-writing. You can't route what you haven't surfaced.
Pause and scan the session honestly. The goal here is retrieval of specific moments, not a tidy summary of what you accomplished. Read the primers below, then write a short bulleted list of everything that actually surfaces — even half-baked items. Triage happens in Step 2.
Primers — go through each one. If a primer hits nothing, say "nothing" and move on:
If the user explicitly flagged something during the session ("log this learning: …"), include it alongside your own findings.
Zero findings is valid output. Do not fabricate to seem productive. But before declaring zero, check: did you actually run through every primer above, or did you skim?
For each item from Step 1, pick the strongest loop-closing action it qualifies for. Earlier options close the loop more decisively than later ones — prefer earlier when it's a real fit:
Closes-Loop-Via: commit:this// @context: comment in the file at the right line.
→ trailer: Closes-Loop-Via: annotation:<file>:<line>issue-filing skill.
Targets: reusable-package gap / venue bug / DX friction in @recallnet/*
→ recallnet/tradecore. Gap in skunkworks-template (AGENTS.md, hooks, QA
scripts, template structure) → recallnet/skunkworks-template.
→ trailer: Closes-Loop-Via: issue:owner/repo#Nlearnings/TRADE-LEARNINGS.md. Process / tooling / meta / team-wide →
learnings/AGENT-LEARNINGS.md. When in doubt: AGENT-LEARNINGS is
how we work, TRADE-LEARNINGS is what markets do.
→ trailer: Closes-Loop-Via: recommendation:learnings/<file>.mdStack a learning entry on top of options 1–3 when the insight generalizes beyond this fix. The Tier 1 action closes the immediate loop; the learning entry is what makes the insight discoverable to other agents (other repos, other sessions, Atlas search) and what surfaces recurrence patterns over time. Heuristic:
Action: field to record what was already done
(e.g., Action: Done in commit:this or Action: Filed as issue:owner/repo#N).For fix-it-now items where the action isn't tiny: tell the user "This finding suggests [change]. I can make it now and include it in this commit. Want me to?" Closing the loop beats describing it.
Ensure the target file exists. Check learnings/AGENT-LEARNINGS.md (and
learnings/TRADE-LEARNINGS.md if routing there).
AGENT-LEARNINGS.md exists at repo root but learnings/ does not:
mkdir -p learnings && git mv AGENT-LEARNINGS.md learnings/AGENT-LEARNINGS.mdreferences/learning-file-headers.md if
present, or use the templates below).learnings/AGENT-LEARNINGS.md initial header---
doc_type: reference
owner: all-agents
status: active
review_policy: periodic-7
reviewed: YYYY-MM-DD
summary: Cross-cutting process, tooling, and meta learnings from agent sessions.
tags: [agent-learnings, meta]
---
# Agent Learnings
Cross-cutting insights from AI agent sessions. These are learnings that
don't belong in a specific doc but help future agents work smarter.
Atlas indexes this file nightly for semantic search across the team.
Each entry includes a directive: a concrete "Do X, not Y" instruction.
Entries marked `hypothesis` have low conviction — not subject to freshness gate.
Entries tagged `meta` are cross-cutting (not repo-specific) and surfaced team-wide.
---
<!-- Entries below, newest first -->
learnings/TRADE-LEARNINGS.md initial header---
doc_type: reference
owner: all-agents
status: active
review_policy: periodic-7
reviewed: YYYY-MM-DD
summary: Domain, venue, strategy, and market-microstructure learnings from agent sessions.
tags: [trade-learnings, domain]
---
# Trade Learnings
Venue gotchas, denomination rules, integration constraints, strategy insights,
and market-microstructure findings from agent sessions.
Atlas indexes this file nightly for semantic search across the team.
Each entry includes a directive. Use `(hypothesis)` for low-conviction signal.
---
<!-- Entries below, newest first -->
If the target file already has uncommitted changes (likely from a prior failed commit attempt), warn the user and append new entries after the existing uncommitted ones — do not skip:
git diff --name-only learnings/ 2>/dev/null
git diff --cached --name-only learnings/ 2>/dev/null
Get the author name once: git config user.name
Insert entries with the Edit tool (not Write) — replace the
<!-- Entries below, newest first --> marker with itself plus the new
entries, so existing content is preserved without rewriting the file:
### YYYY-MM-DD — Summary sentence (confirmed, gotcha)
Author: [git config user.name]
Insight: One sentence stating the key implication — why this matters and what it changes about how you'd approach the problem.
Detail: The specific context, evidence, or mechanism behind the insight. What happened, what you tried, what the constraints were.
Directive: Do X, not Y.
Action: What should change in the machine? (e.g., "Add pre-commit check for X", "Update team standard to require Y", "No machine change needed — directive is sufficient"). Every learning must close the loop.
Applies To: [paths, systems, or workflows this affects]
Context: branch, what was being done
Type tags (pick the closest match):
gotcha · dead-end · fragile-area · codebase-state · tool-quirk ·
hypothesis (low-conviction signal — Directive and Action are optional;
not subject to freshness gate).
Cross-cutting (not repo-specific) entries add , meta to the tag:
### YYYY-MM-DD — Summary sentence (confirmed, gotcha, meta)
Lead with the Insight line — a reader scanning the file should understand the implication without reading the full detail.
Stage the file(s):
git add learnings/AGENT-LEARNINGS.md # and/or learnings/TRADE-LEARNINGS.md
Anti-patterns — do NOT produce:
hypothesis) — every learning
must close the feedback loopFor feat: or fix: commits, include a Closes-Loop-Via: or No-Learning: trailer in the commit message body to document how the learning loop was closed (or why it wasn't applicable). Multiple Closes-Loop-Via: trailers are valid — list one per closure when both an action was taken and a learning was captured:
Closes-Loop-Via: issue:recallnet/tradecore#N ← filed a TradeCore issue
Closes-Loop-Via: issue:recallnet/skunkworks-template#N ← filed a template issue
Closes-Loop-Via: annotation:<file>:<line> ← added @context annotation
Closes-Loop-Via: commit:this ← fixed it directly in this commit
Closes-Loop-Via: recommendation:learnings/AGENT-LEARNINGS.md ← wrote a learning entry
Closes-Loop-Via: recommendation:learnings/TRADE-LEARNINGS.md ← wrote a trade learning
No-Learning: <reason> ← refactor / dep bump / style / no new knowledge
Execute via HEREDOC:
git commit --quiet -m "$(cat <<'EOF'
type(scope): subject line
## Summary
...
Closes-Loop-Via: <value>
EOF
)"
If pre-commit hooks fail: fix the issue, re-stage, and create a NEW commit. Never amend — amending after a hook failure modifies the previous commit, not the failed one.
Run git status to confirm success.