yo — Claude Code rule: what it does, how to install
Instructs the AI to trigger a quick ping through the yo-mcp server whenever a task finishes or a question requires user attention.
MIT ★ 528 updated 2025-08-21
.cursor/rules/yo.mdcWhat yo does
The rule directs the coding agent to ping you through the mcp_yo-mcp_com_yo tool whenever it needs input or wraps up an assigned job. It enforces a strict format: the payload must contain only a concise subject-line style note explaining why attention is required.
Full questions and context stay inside the regular chat interface right after the notification fires. The rule includes alwaysApply: true, keeping the instruction active across conversations.
Without the yo-mcp server configured in your environment, the agent fails on the missing tool call.
What it helps with
- get notified when an agent finishes a background task
- receive a ping when the assistant needs human input
- keep push notifications short instead of dumping full chat logs
Example prompts for the agent
- Refactor the authentication module and ping me when you are done
- Run the test suite and ask for guidance if anything fails
How to install yo
Manually: put the files in place
.cursor/rules/yo.mdcFrontmatter: description, globs, alwaysApply
Manually: put the files in place
.claude/rules/yo.mdThe paths frontmatter field limits the files: move globs from the source into paths
AGENTS.md
Codex reads AGENTS.md: paste the rule text there
Manually: put the files in place
.github/instructions/yo.instructions.mdThe applyTo field sets which files it applies to: move globs from the source into applyTo
Manually: put the files in place
.devin/rules/yo.mdManually: put the files in place
.clinerules/yo.mdStep by step, with commands for each platform: Cursor rules: .mdc files, four modes and what replaced .cursorrules
Questions about yo
How to install yo in Claude Code?
Create .claude/rules/yo.md in your project root and paste the rule text into that file.
What does the yo rule do?
It instructs the AI to invoke the mcp_yo-mcp_com_yo tool with a brief summary whenever it stops for user feedback or finishes work.
What is required before using this rule?
You need an active yo-mcp MCP server registered in your environment exposing the mcp_yo-mcp_com_yo tool.
Source text
yo.mdc · MIT
--- description: globs: alwaysApply: true --- If you need my input to answer a question or when you finish a task and want to know what to do next you must send me a yo using the yo-mcp MCP tool. In the yo you MUST provide ONLY a very short message (think like an email subject line) for why you need my attention / input. Then reply with your update / question to the normal chat. This mcp server should be called with this tool name: "mcp_yo-mcp_com_yo"
© FutureExcited · MIT · FutureExcited/vibe-rules