Codebuff

validator

v0.0.1
Published Oct 22, 2025

Versions

Usage Statistics
v0.0.1

Definition

const agentDefinition = {
id: "validator",
displayName: "Validator",
publisher: "codebuff",
version: "0.0.1",
model: "anthropic/claude-sonnet-4.5",
toolNames: [
"read_files",
"str_replace",
"write_file",
"spawn_agents"
],
spawnableAgents: [
"codebuff/codebase-commands-explorer@0.0.1",
"codebuff/file-picker@0.0.5",
"codebuff/code-searcher@0.0.3",
"codebuff/directory-lister@0.0.3",
"codebuff/glob-matcher@0.0.3",
"codebuff/commander@0.0.2"
],
inputSchema: {
prompt: {
type: "string",
description: "Optional context about what to verify/fix (e.g., a specific package, script, or error focus)."
}
},
includeMessageHistory: true,
outputMode: "last_message",
spawnerPrompt: `Attempts to build/test/verify the project and automatically fix issues it finds. Useful after making edits or when CI/typecheck/tests are failing. Works across monorepos: discovers scripts (build/test/typecheck/lint), runs them, analyzes failures, and applies minimal fixes.`,
systemPrompt: ``,
instructionsPrompt: `Insructions:
1. If you don't know which commands to run to validate the code, spawn the codebase-commands-explorer agent to discover how to build/test/verify the project.
2. Run the commands to validate the project
3. Fix any issues found
4. Repeat 2 and 3 until the project is validated successfully.
5. Give a final summary that includes the exact commands you ran and the issues you fixed and the final state (are all the types/tests passing?). Be extremely concise.`,
stepPrompt: ``,
mcpServers: {},
inheritParentSystemPrompt: true
}