neural-train
하는 일
이 스킬은 잘 진행된 작업에서 에이전트의 학습 패턴을 훈련시키고, 이를 장기 메모리로 묶습니다. AI 도우미가 자신이 성공한 작업에서 배워 나아지기를 원하는 사람을 위한 스킬입니다.
사용하는 경우
- ✓성공한 작업을 끝내고 효과적이었던 점을 기록하고 싶을 때.
- ✓완료한 작업이 충분히 쌓여 교훈을 묶어야 할 때.
- ✓새 영역을 자체 학습 어댑터와 함께 훈련시키고 싶을 때.
스킬 링크
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-intelligence/skills/neural-train/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“방금 끝낸 작업에서 배워서, 에이전트가 비슷한 일을 다음에 더 잘하게 해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 작업의 궤적을 기록하고 성공 또는 실패로 표시한 뒤, 교훈을 추려냅니다. 그다음 교훈을 통합하고, 결과로 패턴 모델을 훈련시킬 수 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Neural Training
Train and consolidate neural patterns. Implements the DISTILL and CONSOLIDATE phases of the 4-step intelligence pipeline.
When to use
- After completing a successful task — capture what worked.
- After accumulating ≥10 task completions — run consolidation to fold patterns into long-term storage.
- When training a new domain — create a MicroLoRA adapter for it.
Standard flow (DISTILL)
- Check current neural status —
mcp__plugin_ruflo-core_ruflo__neural_status. - Start a trajectory —
mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-startwith the task context. - Record steps — for each significant action,
mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-step. - End trajectory —
mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-endwith{ trajectoryId, success: true|false, feedback? }(the tool takes a booleansuccess, not a verdict string). - Learn from the trajectory —
mcp__plugin_ruflo-core_ruflo__hooks_intelligence_learn(optionally{ trajectoryIds: [...] }). It runs a distill + EWC++ consolidation cycle;consolidatedefaults to true. - Train patterns —
mcp__plugin_ruflo-core_ruflo__neural_trainwith{ modelType: "classifier", data: [{ "text": "<what the task was>", "label": "<outcome or lesson>" }] }(modelTypeis required:moe|transformer|classifier|embedding). It only learns from thedatayou pass: it does not read trajectories, SONA or the ReasoningBank, and withoutdatait answerssuccess: false, status: "empty"(ruflo 3.56.9 and earlier reportedstatus: "ready"withpatternsStored: 0). The CLI form isneural train --pattern coordination --epochs 10. - Store patterns —
mcp__plugin_ruflo-core_ruflo__hooks_intelligence_pattern-store. - Verify —
mcp__plugin_ruflo-core_ruflo__neural_patternswith{ action: "list" }lists only whatneural_trainstored. What steps 2-5 and 7 learned (trajectories, SONA, ReasoningBank,hooks_intelligence_pattern-store) is a separate store: check it withmcp__plugin_ruflo-core_ruflo__hooks_intelligence_pattern-searchorhooks_intelligence_stats, notneural_patternsorneural_predict.neural_predictreturns a match only above a cosine-similarity floor (default 0.5,minSimilarityto change it) and an emptypredictionslist otherwise.
SONA adaptation (single-domain, <0.05ms)
For real-time micro-adaptation:
# ruvllm_sona_create returns { sonaId }; pass it to ruvllm_sona_adapt with a 0..1 quality signal
npx @claude-flow/cli@latest mcp exec -t ruvllm_sona_create -p '{"hiddenDim": 256}'
npx @claude-flow/cli@latest mcp exec -t ruvllm_sona_adapt -p '{"sonaId": "<id from create>", "quality": 0.9}'
MicroLoRA adaptation (multi-domain)
When you have ≥3 distinct domains, create a MicroLoRA adapter per domain rather than overloading SONA:
# Create the adapter: returns { loraId }. inputDim and outputDim are required
npx @claude-flow/cli@latest mcp exec -t ruvllm_microlora_create -p '{"inputDim": 384, "outputDim": 384, "rank": 4}'
# Adapt with a 0..1 quality signal (loraId and quality are required)
npx @claude-flow/cli@latest mcp exec -t ruvllm_microlora_adapt -p '{"loraId": "<id from create>", "quality": 0.9}'
ruvllm_microlora_adapt has no consolidate option. EWC++ consolidation is a separate call: hooks_intelligence_learn (runs a distill + EWC++ cycle, consolidate defaults to true) or agentdb_consolidate, below.
CONSOLIDATE phase (separate from training)
After every ~10 trajectory completions, run a full consolidation pass:
npx @claude-flow/cli@latest mcp exec -t agentdb_consolidate
npx @claude-flow/cli@latest mcp exec -t neural_compress # storage efficiency
This folds patterns into long-term storage under EWC++ semantics.
Bootstrapping from scratch
If the system has no learned patterns yet:
# hooks_pretrain analyses the repository: { path, depth: shallow|medium|deep, skipCache }
npx @claude-flow/cli@latest mcp exec -t hooks_pretrain -p '{"path": ".", "depth": "medium"}'
# hooks_build-agents generates agent configs: { focus: v3-implementation|security|performance|all, outputDir, format: yaml|json, persist }
npx @claude-flow/cli@latest mcp exec -t hooks_build-agents -p '{"focus": "all"}'
hooks_pretrain writes to the patterns (plural) namespace — distinct from the pattern (singular) ReasoningBank target. See ruflo-agentdb ADR-0001 for the n
자주 묻는 질문
언제 통합해야 하나요?
소스는 완료된 작업이 최소 10개 쌓인 뒤에 통합을 실행하라고 권장합니다.
훈련 항목은 어떻게 생겼나요?
각 항목에는 작업을 설명한 텍스트와 결과 또는 교훈을 나타내는 라벨이 있습니다.
훈련 상태를 확인할 수 있나요?
네. 상태 단계가 신경 패턴의 현재 상태를 보여 줍니다.
상세 정보
작성자의 원본 설명
Train SONA + MicroLoRA neural patterns from successful task completions; runs the DISTILL + CONSOLIDATE phases of the 4-step pipeline
repo: ruvnet/ruflo
인기도
- GitHub 스타
- 81k
- 순위
- #1631
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-adaptive-coordinator
81k작업량이 바뀔 때 에이전트 무리를 나누고 재배치해, 작업에 맞는 배치를 고르도록 에이전트를 돕습니다.
agent-agent
81k큰 목표를 순서가 있는 행동 계획으로 나누고, 조건이 바뀌면 다시 계획하도록 에이전트를 가르칩니다.
agent-agentic-payments
81kAI 쇼핑을 위한 지출 위임장을 관리합니다. 지출 상한, 시간 창, 판매자 규칙, 서명된 승인을 포함합니다.
agent-analyze-code-quality
81k에이전트가 파일을 바꾸지 않고, 코드 품질 문제와 코드 냄새, 기술 부채, 리팩터링 아이디어를 찾아 검토하도록 돕습니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.