Langsung ke konten
Skillpedia
Agen81k Β· #1631

neural-train

Fungsinya

Skill ini melatih pola pembelajaran agent dari tugas yang berjalan baik dan menggabungkannya ke memori jangka panjang. Skill ini untuk orang yang ingin asisten AI mereka membaik dari pekerjaan sukses mereka sendiri.

Kapan dipakai

  • βœ“Saat Anda menyelesaikan tugas yang berhasil dan ingin menangkap apa yang berjalan baik.
  • βœ“Saat Anda sudah menyelesaikan cukup banyak tugas sehingga pelajarannya perlu digabungkan.
  • βœ“Saat Anda ingin melatih area baru dengan adaptor pembelajarannya sendiri.

Link skill

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-intelligence/skills/neural-train/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-intelligence/skills/neural-train/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBelajarlah dari tugas yang baru saya selesaikan supaya agent menangani pekerjaan serupa dengan lebih baik lain kali.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill mencatat trajektori tugas, menandainya sebagai berhasil atau gagal, lalu menyaring pelajarannya. Skill menggabungkan pelajaran itu dan bisa melatih model pola dari hasilnya.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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)

  1. Check current neural status β€” mcp__plugin_ruflo-core_ruflo__neural_status.
  2. Start a trajectory β€” mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-start with the task context.
  3. Record steps β€” for each significant action, mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-step.
  4. End trajectory β€” mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-end with { trajectoryId, success: true|false, feedback? } (the tool takes a boolean success, not a verdict string).
  5. Learn from the trajectory β€” mcp__plugin_ruflo-core_ruflo__hooks_intelligence_learn (optionally { trajectoryIds: [...] }). It runs a distill + EWC++ consolidation cycle; consolidate defaults to true.
  6. Train patterns β€” mcp__plugin_ruflo-core_ruflo__neural_train with { modelType: "classifier", data: [{ "text": "<what the task was>", "label": "<outcome or lesson>" }] } (modelType is required: moe|transformer|classifier|embedding). It only learns from the data you pass: it does not read trajectories, SONA or the ReasoningBank, and without data it answers success: false, status: "empty" (ruflo 3.56.9 and earlier reported status: "ready" with patternsStored: 0). The CLI form is neural train --pattern coordination --epochs 10.
  7. Store patterns β€” mcp__plugin_ruflo-core_ruflo__hooks_intelligence_pattern-store.
  8. Verify β€” mcp__plugin_ruflo-core_ruflo__neural_patterns with { action: "list" } lists only what neural_train stored. What steps 2-5 and 7 learned (trajectories, SONA, ReasoningBank, hooks_intelligence_pattern-store) is a separate store: check it with mcp__plugin_ruflo-core_ruflo__hooks_intelligence_pattern-search or hooks_intelligence_stats, not neural_patterns or neural_predict. neural_predict returns a match only above a cosine-similarity floor (default 0.5, minSimilarity to change it) and an empty predictions list 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

Pertanyaan umum

Kapan saya sebaiknya melakukan konsolidasi?

Sumbernya menyarankan konsolidasi dijalankan setelah minimal sepuluh tugas selesai.

Seperti apa satu item pelatihan?

Setiap item memiliki deskripsi teks tentang tugas dan label untuk hasil atau pelajarannya.

Bisakah saya memeriksa status pelatihan?

Bisa. Langkah status menunjukkan kondisi terkini dari pola neural.

Detail

Deskripsi asli dari pembuat

Train SONA + MicroLoRA neural patterns from successful task completions; runs the DISTILL + CONSOLIDATE phases of the 4-step pipeline

repo: ruvnet/ruflo

Popularitas

Bintang GitHub
81k
Peringkat
#1631
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa