ocas-mentor
БесплатноБез исполняемых скриптовНе проверенSelf-improving orchestration and evaluation engine. Manages long-running multi-skill workflows, analyzes journals from all skills, evaluates champion vs…
от jiaxiaojunQAQ★ 35 звёзд на GitHubОб этом скилле
Mentor
Mentor is the control plane for long-running autonomous work. It decomposes goals into task graphs, supervises execution across skills, detects and repairs failures, and continuously evaluates orchestration quality. During heartbeat cycles, it analyzes journals, compares champion vs challenger variants, and proposes skill improvements.
Mentor is one skill with two invocation modes sharing state, telemetry, and learning.
Mentor and Elephas are parallel journal consumers. Mentor reads journals to evaluate skill performance. Elephas reads journals to extract entity knowledge into Chronicle. Neither blocks the other.
When to use
- Manage a long-running multi-step project
- Coordinate work across multiple skills
- Evaluate skill performance from journal data
- Compare champion vs challenger variant runs
- Generate improvement proposals for Forge
When not to use
- Web research — use Sift
- Building new skills — use Forge
- User communication — use Dispatch
- Behavioral pattern analysis — use Corvus
Responsibility boundary
Mentor owns orchestration, evaluation, and the improvement loop.
Mentor does not own: skill building (Forge), behavioral pattern detection (Corvus), behavioral refinement (Praxis), knowledge graph (Elephas), web research (Sift), communications (Dispatch), experimentation execution (Fellow).
Mentor proposes improvements; Forge builds them. Mentor detects regressions; Praxis extracts behavioral lessons from Corvus signals.
Commands
mentor.project.create— create a project with goal, constraints, and requested outputmentor.project.status— current project state, task graph, execution progressmentor.project.replan— trigger strategy-level replanmentor.task.list— tasks with statuses, dependencies, blocking reasonsmentor.heartbeat.light— lightweight pass: ingest journals, update aggregates, queue workmentor.heartbeat.deep— deep pass: full scoring, trend analysis, proposalsmentor.variants.list— active champion/challenger pairs with evaluation statusmentor.variants.decide— emit promotion decision for a variant (writes VariantDecision to Forge intake)mentor.proposals.list— pending skill improvement proposalsmentor.proposals.create— generate a VariantProposal for a target skill (writes to Forge intake)mentor.status— active projects, pending evaluations, self-improvement metricsmentor.journal— write journal for the current run; called at end of every run
Mode A — Runtime orchestration
Triggered by explicit invocation. Creates a project record, builds a task graph, executes and supervises tasks, dynamically replans when blocked.
Task states: pending, ready, running, blocked, failed, complete, archived.
Scheduling: execute only tasks with complete dependencies. Prioritize critical path. Bounded parallelism. Bounded retries.
Mode B — Heartbeat evolution
Triggered periodically. Pipeline: ingest journals → validate schema → aggregate metrics → pair champion/challenger → score OKRs → detect anomalies → evaluate variants → generate proposals → emit decisions → write journal.
Mentor reads journals from all skills at: ~/openclaw/journals/ (recursive scan). It tracks which run_ids have been ingested via ~/openclaw/data/ocas-mentor/ingestion_log.jsonl.
Layered evaluation loops
- Layer 1 — Micro Action (ms-sec): validate single outputs. Retry, local repair, fallback.
- Layer 2 — Task Execution (sec-min): ensure task completion. Retry, switch skill, split task.
- Layer 3 — Strategy (min-hr): improve active project plan. Reorder, insert, merge, parallelize.
- Layer 4 — Evolution (hr-wk): improve skills and policies. Propose variants, promote/archive.
Failure repair policy
Order: retry with refined framing → alternate skill → split task → revise ordering → escalate to strategy loop. Never retry indefinitely. Every repair action journaled.
Safety invariants
- Challenger variants never execute side effects
- Comparisons only on identical normalized inputs
- Malformed journals quarantined, not trusted
- Promotion requires sufficient evidence over multiple runs
- Mentor journals its own orchestration decisions
Inter-skill interfaces
Mentor writes VariantProposal files to: ~/openclaw/data/ocas-forge/intake/{proposal_id}.json
Mentor writes VariantDecision files to: ~/openclaw/data/ocas-forge/intake/{decision_id}.json
See spec-ocas-interfaces.md for schemas and handoff contracts.
Mentor reads journals from: ~/openclaw/journals/ (all skills, recursive). This is a read-only scan parallel to Elephas ingestion.
Storage layout
~/openclaw/data/ocas-mentor/
config.json
projects/
evaluations/
ingestion_log.jsonl
decisions.jsonl
~/openclaw/journals/ocas-mentor/
YYYY-MM-DD/
{run_id}.json
The OCAS_ROOT environment variable overrides ~/openclaw if set.
Default config.json:
{
"skill_id": "ocas-mentor",
"skill_version": "2.0.0",
"co
Установить ocas-mentor в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ocas-mentor?
Self-improving orchestration and evaluation engine. Manages long-running multi-skill workflows, analyzes journals from all skills, evaluates champion vs challenger variants, and proposes skill improvements to Forge. Use for task decomposition, project coordination, heartbeat analysis, variant evaluation, or improvement proposals. Trigger phrases: 'manage this project', 'coordinate a multi-step analysis', 'evaluate skill performance', 'run a heartbeat analysis'. Do not use for web research (Sift), skill building (Forge), or user communication (Dispatch).
Как установить скилл ocas-mentor?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ocas-mentor запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic