본문으로 건너뛰기
cccskills
무료GitHub에 공개

recursive-training

Use after completed recursive-mode runs accumulate to extract durable experiential memory into `/.recursive/memory/`, then load it for later runs through the canonical loader.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model스타 117(GitHub 117 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(4)

  • SKILL.md6.7 KB
  • agents/openai.yaml270 B
  • references/memory-architecture.md3.6 KB
  • references/phase8-and-loading.md3.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

recursive-training

Purpose

Use this skill after a repository has accumulated completed recursive-mode runs and you want to turn repeated successes or failures into durable, repo-local guidance.

The canonical workflow still lives in /.recursive/RECURSIVE.md. This skill owns only the training, loading, and memory-discipline layer that sits around completed runs.

When to use it

Use recursive-training to:

  • extract cross-run learnings from completed recursive-mode runs
  • keep those learnings in /.recursive/memory/ instead of ad hoc mirrors
  • refresh memory after Phase 8 locks
  • load only the most relevant prior learnings before a new run starts
  • provide startup guidance without mutating the memory plane

Hard rules

  1. Repository-local only. Training data and extracted memory stay inside the current repo.
  2. No parameter updates. Learning happens through files in /.recursive/memory/, not model mutation.
  3. /.recursive/memory/ is the only canonical store. Pointer files are bootstrap-managed and non-authoritative.
  4. All markdown under /.recursive/run/<run-id>/ is eligible training input, not just 00-08.
  5. Group runs by subsystem only. The extractor assigns task types per learning item.
  6. Use contrastive extraction when both winners and losers exist; fall back to winner-only extraction for high-quality repos.
  7. Every extracted item must remain evidence-grounded in completed runs.
  8. Training scripts do not own AGENTS.md; bootstrap owns bridge-file updates.

Training model

recursive-training combines two ideas:

  • ReasoningBank-style memory items for structured, reusable extracted guidance
  • Training-free GRPO-style comparison for contrastive winner/loser extraction when variance exists

At a high level:

  1. Parse all markdown artifacts from completed runs.
  2. Infer the dominant subsystem from changed paths and evidence across those artifacts.
  3. Classify each subsystem group as contrastive, winner-only, or insufficient.
  4. Ask the extractor for structured learning items.
  5. Write those items into:
    • /.recursive/memory/domains/<subsystem>.md
    • /.recursive/memory/training/<task-type>.md
  6. Refresh the memory registry/startup guidance without treating pointer files as authoritative memory.

For the full schema, grouping logic, evidence signals, and extraction contracts, see:

  • references/memory-architecture.md
  • references/phase8-and-loading.md

Phase 8 and loading boundary

Phase 8 records the current run's observations in 08-memory-impact.md.

Training then turns many completed runs into cross-run memory.

That means:

  • 08-memory-impact.md is run-local capture
  • recursive-training-phase8-trigger.py is the handoff after Phase 8 locks
  • recursive-training-grpo.py performs extraction
  • recursive-training-loader.py is the canonical retrieval path before later runs
  • recursive-training-sync.py prints startup guidance without mutating the memory plane

Detailed Phase 8 handoff and loader behavior lives in references/phase8-and-loading.md.

Commands

Full training:

python .recursive/scripts/recursive-training-grpo.py --repo-root .

Incremental training after a specific run:

python .recursive/scripts/recursive-training-grpo.py --repo-root . --incremental --run-id <run-id>

Post-Phase 8 trigger:

python .recursive/scripts/recursive-training-phase8-trigger.py --repo-root . --run-id <run-id>
python .recursive/scripts/recursive-training-phase8-trigger.py --repo-root . --run-id <run-id> --auto

Read-only startup guidance:

python .recursive/scripts/recursive-training-sync.py --repo-root .

Canonical memory loading before a new run:

python .recursive/scripts/recursive-training-loader.py \
  --repo-root . \
  --query "<task description>" \
  --files "<comma-separated paths>"

Optional MCP convenience layer:

python .recursive/scripts/recursive-training-mcp.py --repo-root .

Trigger patterns

Recognize these as training requests:

  • train
  • training
  • extract memories
  • learn from runs
  • train from the latest run
  • incremental training
  • sync memories
  • /recursive-training

Default behavior:

  • fewer than 2 completed runs: explain why extraction is skipped
  • no explicit scope: default to full training
  • explicit run or "incremental": use incremental mode
  • "sync" or "what should I read": use recursive-training-sync.py

Operator checklist

  1. Confirm the repo already has recursive-mode scaffolding.
  2. Confirm completed runs exist under /.recursive/run/.
  3. Run the trigger or grpo script with the intended scope.
  4. Verify updated items land under /.recursive/memory/domains/ and /.recursive/memory/training/.
  5. Before the next run, read /.recursive/memory/MEMORY.md and call the loader with task context.
  6. Treat loader output as advisory context; the canonical records stay in the memory plane.

Script surface

  • .recursive/scripts/recursive-training-grpo.py
  • .recursive/scripts/recursive-training-grpo.ps1
  • .recursive/scripts/recursive-training-phase8-trigger.py
  • .recursive/scripts/recursive-training-phase8-trigger.ps1
  • .recursive/scripts/recursive-training-sync.py
  • .recursive/scripts/recursive-training-sync.ps1
  • .recursive/scripts/recursive-training-loader.py
  • .recursive/scripts/recursive-training-loader.ps1
  • .recursive/scripts/recursive-training-mcp.py
  • .recursive/scripts/recursive-training-mcp.ps1

Detailed references

  • references/memory-architecture.md — schema, evidence signals, grouping, extraction modes, and output contract
  • references/phase8-and-loading.md — Phase 8 handoff, trigger behavior, loader timing, and integration patterns

Coverage Gate

  • Canonical memory-store boundary documented
  • Contrastive and winner-only extraction modes documented
  • Subsystem-only grouping documented
  • All-markdown run-folder input scope documented
  • Phase 8 handoff and loader boundary documented
  • Canonical command surface documented
  • Reference docs linked for detailed extraction and loading behavior
  • Script-only transport boundary preserved

Coverage: PASS

Approval Gate

  • Skill defers to /.recursive/RECURSIVE.md for overall workflow rules
  • Repository-local scope preserved
  • No parameter-updating behavior introduced
  • /.recursive/memory/ remains the only canonical store
  • Phase 8 capture vs training extraction boundary is explicit
  • Loader remains the canonical retrieval path
  • Pointer files remain bootstrap-managed, not sync-authored mirrors

Approval: PASS

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, chat applications, voice agents, or browser automation. Covers Agent class, state management, callable RPC, Workflows, durable execution, queues, retries, observability, and React hooks. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model1172026년 10월 25일 업데이트

Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), feature flags (Flagship), networking (Tunnel, Spectrum), security (WAF, DDoS), and infrastructure-as-code (Terraform, Pulumi). Use for any Cloudflare development task. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model1172026년 10월 25일 업데이트

Send and receive transactional emails with Cloudflare Email Service (Email Sending + Email Routing). Use when building email sending (Workers binding or REST API), email routing, Agents SDK email handling, or integrating email into any app — Workers, Node.js, Python, Go, etc. Also use for email deliverability, SPF/DKIM/DMARC, wrangler email setup, MCP email tools, or when a coding agent needs to send emails. Even for simple requests like "add email to my Worker" — this skill has critical config details.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model1172026년 10월 25일 업데이트

Guides Cloudflare One Zero Trust and SASE work across Access, Gateway, WARP, Tunnel, Cloudflare WAN, DLP, CASB, device posture, and identity. Use when designing, configuring, troubleshooting, or reviewing Cloudflare One deployments. Retrieval-first: use current Cloudflare docs/API schemas instead of embedded product docs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model1172026년 10월 25일 업데이트

Plans migrations from Zscaler ZIA/ZPA, Palo Alto, legacy VPN, SWG, or SASE stacks to Cloudflare One. Use for migration assessments, policy mapping, rollout plans, and parity/gap analysis.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model1172026년 10월 25일 업데이트

Review the changed lines of a single file in a pull request for bugs, correctness, error handling, security, and maintainability, and return structured findings.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model1172026년 10월 25일 업데이트

try-works의 스킬 모두 보기

이 스킬의 문제 신고