neural-train
Skill này làm gì
Skill này huấn luyện các mẫu học tập của agent từ những tác vụ thành công và kết hợp chúng thành bộ nhớ dài hạn. Nó dành cho người muốn trợ lý AI của mình giỏi hơn nhờ chính công việc thành công của họ.
Khi nào nên dùng
- ✓Khi bạn hoàn thành một tác vụ thành công và muốn ghi lại điều đã hiệu quả.
- ✓Khi bạn đã làm đủ nhiều tác vụ để các bài học nên được gom lại.
- ✓Khi bạn muốn huấn luyện một lĩnh vực mới với bộ điều hợp học tập riêng.
Liên kết skill
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-intelligence/skills/neural-train/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy học từ tác vụ tôi vừa hoàn thành để agent xử lý công việc tương tự tốt hơn lần sau.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill ghi lại quỹ đạo (trajectory) của tác vụ, đánh dấu thành công hay thất bại, rồi rút ra các bài học. Nó củng cố các bài học đó và có thể huấn luyện một model mẫu từ kết quả.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Khi nào nên củng cố?
Mã nguồn gợi ý chạy củng cố sau ít nhất mười tác vụ đã hoàn thành.
Một mục huấn luyện trông như thế nào?
Mỗi mục có mô tả bằng văn bản về tác vụ và một nhãn cho kết quả hoặc bài học.
Tôi có kiểm tra được trạng thái huấn luyện không?
Có. Một bước trạng thái cho biết tình hình hiện tại của các mẫu neural.
Chi tiết
Mô tả gốc của tác giả
Train SONA + MicroLoRA neural patterns from successful task completions; runs the DISTILL + CONSOLIDATE phases of the 4-step pipeline
repo: ruvnet/ruflo
Độ phổ biến
- Sao GitHub
- 81k
- Vị trí xếp hạng
- #1631
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-adaptive-coordinator
81kGiúp agent của bạn chia và cân bằng lại một nhóm agent AI khi khối lượng công việc thay đổi, chọn bố cục phù hợp với tác vụ.
agent-agent
81kDạy agent của bạn biến một mục tiêu lớn thành kế hoạch hành động có thứ tự, và lập lại kế hoạch khi điều kiện thay đổi.
agent-agentic-payments
81kGiúp agent của bạn quản lý ủy quyền chi tiêu cho mua sắm bằng AI, với hạn mức chi, khung thời gian, quy tắc người bán và phê duyệt có chữ ký.
agent-analyze-code-quality
81kGiúp agent của bạn rà soát chất lượng mã, tìm code smell, nợ kỹ thuật và gợi ý tái cấu trúc mà không thay đổi các file.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.