This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // red-pen-loop — one model marks your work, another fixes it, until the marks are gone. | |
| // | |
| // Codex reviews, Claude fixes, repeat. Keeping the grader and the fixer separate is | |
| // the point: a model grading its own homework is the failure mode this avoids. | |
| // | |
| // Save as .claude/workflows/red-pen-loop.js (or ~/.claude/workflows/ for every project). | |
| // It runs as /red-pen-loop — the command name comes from meta.name, not the filename. | |
| // | |
| // Needs the `codex` CLI on PATH and `Bash(codex exec:*)` in your allowlist, or the | |
| // review agent stops to ask for permission on every round. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "providers": { | |
| "Preferred Networks (PLaMo)": { | |
| "baseUrl": "https://platform.preferredai.jp/api/completion/v1", | |
| "api": "openai-completions", | |
| "apiKey": "$PLAMO_API_KEY", | |
| "models": [ | |
| { | |
| "id": "plamo-3.0-prime", | |
| "name": "PLaMo 3.0 Prime", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "providers": { | |
| "Sakana AI Console": { | |
| "baseUrl": "https://api.sakana.ai/v1", | |
| "api": "openai-responses", | |
| "apiKey": "$SAKANA_API_KEY", | |
| "models": [ | |
| { | |
| "id": "fugu", | |
| "name": "Sakana Fugu", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://opencode.ai/config.json", | |
| "provider": { | |
| "xai": { | |
| "npm": "@ai-sdk/xai", | |
| "name": "xAI Grok", | |
| "options": { | |
| "apiKey": "xai-YOUR_API_KEY", | |
| "baseURL": "https://api.x.ai/v1" | |
| }, |
gh repo clone openclaw/openclaw
cd openclaw
./docker-setup.sh
# ...onboarding...
docker compose run openclaw-cli status
docker compose run openclaw-cli dashboard --no-open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "env": { | |
| "ANTHROPIC_AUTH_TOKEN": "sk-or-v1-your-openrouter-api-key", | |
| "ANTHROPIC_BASE_URL": "https://openrouter.ai/api", | |
| "ANTHROPIC_MODEL": "openrouter/pony-alpha", | |
| "ANTHROPIC_DEFAULT_OPUS_MODEL": "openrouter/pony-alpha", | |
| "ANTHROPIC_DEFAULT_SONNET_MODEL": "openrouter/pony-alpha", | |
| "ANTHROPIC_DEFAULT_HAIKU_MODEL": "openrouter/pony-alpha", | |
| "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "hooks": { | |
| "SessionStart": [ | |
| { | |
| "matcher": "compact", | |
| "hooks": [{ | |
| "type": "command", | |
| "command": "echo 'ここからは関西弁で応答してください。'", | |
| "timeout": 30 | |
| }] |
const PATH = "logs/sample.jsonl";
const N = 400;
const raw = await dv.io.load(PATH);
if (typeof raw !== "string") {
dv.paragraph(`load failed: ${PATH}`);
return;
}
NewerOlder