moai-workflow-research

Optimizes moai-adk components through binary eval experimentation loops with safety layers.

2|Updated May 27, 2026
One-click install
npx skills add https://github.com/yekinya/moai-novel --skill moai-workflow-research-yekinya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-workflow-research
Source: https://github.com/yekinya/moai-novel/tree/main/moai-novel/.claude/skills/moai-workflow-research
Command: npx skills add https://github.com/yekinya/moai-novel --skill moai-workflow-research-yekinya

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Improving AI skills, agents, and rules without measurement leads to regressions and guesswork. This Skill provides a structured self-research workflow that optimizes moai-adk components through iterative binary eval experiments with enforced safety controls. ## Core Features & Use Cases - Binary Eval Experimentation: Define eval suites in YAML with pass/fail criteria, run experiments against baselines, and track results in structured experiment logs. - 5-Layer Safety Architecture: FrozenGuard for constitution files, worktree sandboxing, canary regression checks, rate limiting, and mandatory human approval before merging. - Use Case: You want to improve a skill's prompt quality. Define an eval suite with test scenarios, measure a baseline, run experiments in an isolated worktree, verify with canary regression, and propose the change for human approval. ## Quick Start Ask the research agent to create an eval suite for a target skill and run a baseline measurement before starting optimization experiments.

Frequently Asked Questions about moai-workflow-research

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run eval experiments to improve an AI skill?

Define an eval suite in YAML with test inputs and binary pass/fail criteria, record a baseline measurement, then run experiments in an isolated worktree. Compare results against the baseline and pass canary regression checks before proposing a merge.

What is a binary eval in prompt optimization?

A binary eval is a yes/no question applied to each test output, such as whether the response meets a defined criterion. Each eval specifies what passing and failing look like, with weights marking criteria as must_pass or nice_to_have.

How does the safety architecture prevent bad self-modifications?

Five layers protect the system: FrozenGuard blocks constitution edits, experiments run in isolated worktrees, canary checks catch regressions, rate limits cap experiments per session, and human approval is required before merging.

Can I modify constitution files during a research session?

No. Constitution files are frozen and cannot be modified by the research workflow. Amendments must be proposed through the human approval channel instead of direct edits.

Why did my experiment get blocked by the rate limiter?

The rate limiter caps the number of experiments per session and per week to prevent runaway self-modification. Batch your experiments or wait for the next window if you hit the limit.