Miyabi - Beauty in Autonomous Development. Complete autonomous AI development platform with GitHub OS integration. Optimized for AI coding agents (Claude Code).
npm install miyabiไธใคใฎใณใใณใใงๅ จใฆใๅฎ็ตใใ่ชๅพๅ้็บใใฌใผใ ใฏใผใฏ






Zero-learning-cost CLI for autonomous AI development
Designed for both humans and AI agents (Claude Code, Devin, etc.)
๐ Quick Start โข ๐ Documentation โข ๐ก Features โข ๐ค For AI Agents
---
Miyabi (้ - Japanese for "elegance") transforms your development workflow with one command.
``bash`
npx miyabi init my-project
That's it. No configuration files. No complex setup. Just pure elegance.
Before Miyabi:
``
โ Manual repo setup
โ Configure labels
โ Setup workflows
โ Create project boards
โ Write documentation
โ Configure CI/CD
โฐ Time: 2-3 hours
With Miyabi:
`bash`
npx miyabi init my-project
โ Repository created
โ 53 labels configured
โ 12 workflows deployed
โ Projects V2 linked
โ Documentation generated
โ CI/CD ready
โฐ Time: 2 minutes
๐ Lightning FastFull project setup in under 2 minutes | ๐ค AI-NativeBuilt for Claude Code & autonomous agents | ๐ธ Zero ConfigNo learning curve. Just worksโข |
๐ State Machine53 labels orchestrate your workflow | โก Auto-Deploy12+ workflows handle everything | ๐ i18n ReadyFull Japanese & English support |
---
> ๐ Note: Miyabi is currently optimized for TypeScript/Node.js projects. For other languages (Python, Go, Rust, etc.), see Language & Framework Support below for adaptation instructions.
#### Interactive Mode (Easiest)
`bash`
npx miyabi
Then select from the menu:
- ๐ธ First-Time Setup (onboarding wizard)
- ๐ Create New Project
- ๐ฆ Add to Existing Project
- ๐ Check Status
- ๐ฉบ Health Check (diagnostics)
#### One-Command Execution (NEW! v0.15.0+)
`bashMagic command - interactive wizard
npx miyabi run
Features:
- TUI Dashboard with real-time progress
- Human-in-the-loop approval gates for critical actions
- One command replaces complex agent orchestration
#### Direct Commands
`bash
First-time setup wizard
npx miyabi onboardHealth check & diagnostics
npx miyabi doctorCreate new project
npx miyabi init my-awesome-projectAdd to existing project
cd existing-project
npx miyabi installCheck agent status
npx miyabi status --watch
`$3
v0.5.0+ Auto-detects Claude Code and shows CLI commands:
`bash
npx miyabi
โ ๐ก Claude Code็ฐๅขใๆคๅบใใใพใใ
ๅฉ็จๅฏ่ฝใชใณใใณใ:
npx miyabi init
npx miyabi install
npx miyabi status
`Direct usage:
`bash
Create project with all options
npx miyabi init my-project --privateInstall to existing repo
npx miyabi installGet status
npx miyabi statusConfigure
npx miyabi config
`---
๐ธ ใใญใฐใฉใ ใ่ฆๆใชๆนใธ
$3
ใใญใฐใฉใใณใฐใฎ็ฅ่ญใใชใใฆใๅคงไธๅคซ๏ผ Claude Codeใๅ
จ้จใใฃใฆใใใพใใ
#### ในใใใ1: Claude Codeใใคใณในใใผใซ
- VS Codeๆกๅผตๆฉ่ฝ
- ใพใใฏ claude.ai/code
#### ในใใใ2: ้ญๆณใฎ่จ่ใๅ
ฅๅ
`
/setup-miyabiMiyabiใใปใใใขใใใใฆใใ ใใ
`#### ในใใใ3: AIใฎ่ณชๅใซ็ญใใใ ใ๏ผ
ใใจใฏๅ
จ้จ่ชๅใงใ ๐
๐ ่ฉณ็ดฐใฌใคใ: ใใญใฐใฉใ ใ่ฆๆใชๆนๅใๅฎๅ
จใฌใคใ
็ป้ขใฎในใฏใชใผใณใทใงใใไปใใปๆ่ฆๆ้: ็ด10ๅ
---
๐ก Features
$3
One-Command Setup - Everything in one command
`bash
npx miyabi init my-project
`What happens:
- โ
GitHub repository created
- โ
53 labels configured (state machine)
- โ
12+ GitHub Actions deployed
- โ
GitHub Projects V2 linked
- โ
Local npm project initialized
- โ
.claude/ directory with 6 AI agents
- โ
Welcome issue created
- โ
Documentation generatedTime: ~2 minutes
Label-Based State Machine - Orchestrate your workflow
$3
States (7 labels):
-
๐ฅ state:pending โ ๐ state:analyzing โ ๐๏ธ state:implementing โ ๐ state:reviewing โ โ
state:doneTypes (10 labels):
-
๐ type:bug โจ type:feature ๐ type:docs โป๏ธ type:refactor ๐งช type:testPriority (4 labels):
-
๐ priority:P0-Critical โ ๏ธ priority:P1-High ๐ priority:P2-Medium ๐ priority:P3-LowAgents (6 labels):
-
๐ค agent:coordinator ๐ค agent:codegen ๐ค agent:review ๐ค agent:issue ๐ค agent:pr ๐ค agent:deployPhase (8 labels):
-
๐ฏ phase:planning ๐๏ธ phase:development ๐งช phase:testing ๐ phase:deployment
GitHub Actions Workflows - Complete automation
$3
| Workflow | Trigger | Purpose |
|----------|---------|---------|
| Autonomous Agent | Issue opened | Auto-analyze & implement |
| Auto-Label | Issue/PR opened | Intelligent labeling |
| State Machine | Label changed | State transitions |
| Auto-Review | PR opened | Code review |
| Deploy Pages | Push to main | Docs deployment |
| Economic Circuit Breaker | High API usage | Cost control |
| Weekly KPI Report | Schedule | Progress tracking |
| Webhook Router | All events | Event routing |
Claude Code Integration - AI-first development
$3
6 AI Agents:
-
CoordinatorAgent - Task orchestration
- CodeGenAgent - Code generation
- ReviewAgent - Quality assurance
- IssueAgent - Issue management
- PRAgent - Pull request automation
- DeploymentAgent - CI/CD7 Custom Commands:
-
/agent-run - Run autonomous agent
- /create-issue - Smart issue creation
- /deploy - Deploy to production
- /generate-docs - Auto documentation
- /security-scan - Security audit
- /test - Run test suite
- /verify - System health checkMCP Servers:
-
github-enhanced.js - Enhanced GitHub integration
- ide-integration.js - IDE bridging
- project-context.js - Project awarenessLearn more about Claude Code โ
$3
For Humans:
- โจ Interactive menus
- ๐ฏ๐ต Full Japanese support
- ๐ Beautiful status displays
- ๐ฏ Guided setup wizard
- โ Contextual help
For AI Agents:
- ๐ค Non-interactive mode
- ๐ JSON output
- ๐ง Programmatic API
- ๐ Environment variables
- ๐ Full context in README
---
๐ Language & Framework Support
$3
Primary Support: TypeScript/Node.js
Miyabi's GitHub Actions and workflows are currently optimized for:
- Language: TypeScript, JavaScript
- Runtime: Node.js โฅ18
- Package Manager: npm
- Testing: Vitest
- Build Tools: tsc, esbuild
Workflows affected:
-
autonomous-agent.yml - Uses npm run typecheck, npm run agents:parallel:exec
- deploy-pages.yml - Node.js app deployment
- weekly-report.yml - TypeScript/Node.js implementation
- weekly-kpi-report.yml - TypeScript/Node.js KPI reporting$3
Phase 1 (Current): TypeScript/Node.js optimized templates
Phase 2 (v0.14+): Language-agnostic workflow templates
Phase 3 (2026+): Fully autonomous language detection
$3
You can easily adapt Miyabi for your stack using Claude Code:
Example: Python + FastAPI
`bash
1. Install Miyabi (creates TypeScript templates)
npx miyabi install2. Ask Claude Code to adapt
In Claude Code, run:
`Prompt for Claude Code:
`
.claude/commands ใจ .claude/agents ใซใคใใฆใ
ๅ
ใฎๆ็คบใฎๆๅณใๅคใใใซใPython ใจ FastAPI ็จใซๆธใๆใใฆใใ ใใใไปฅไธใๅคๆด:
- npm โ pip/poetry
- TypeScript โ Python
- Vitest โ pytest
- tsc โ mypy
- Node.js โ Python 3.11+
ใฏใผใฏใใญใผใใกใคใซใๅๆงใซๆธใๆใใฆใใ ใใใ
`Result: All workflows adapted for Python!
Example: Go + Gin
Prompt for Claude Code:
`
.claude/commands ใจ .claude/agents ใซใคใใฆใ
Go่จ่ชใจGinใใฌใผใ ใฏใผใฏ็จใซๆธใๆใใฆใใ ใใใไปฅไธใๅคๆด:
- npm โ go mod
- TypeScript โ Go
- Vitest โ go test
- tsc โ go build
- Node.js โ Go 1.21+
ใฏใผใฏใใญใผใใกใคใซใๅๆงใซๆธใๆใใฆใใ ใใใ
`
Example: Rust + Actix
Prompt for Claude Code:
`
.claude/commands ใจ .claude/agents ใซใคใใฆใ
Rust่จ่ชใจActixใใฌใผใ ใฏใผใฏ็จใซๆธใๆใใฆใใ ใใใไปฅไธใๅคๆด:
- npm โ cargo
- TypeScript โ Rust
- Vitest โ cargo test
- tsc โ cargo build
- Node.js โ Rust 1.70+
ใฏใผใฏใใญใผใใกใคใซใๅๆงใซๆธใๆใใฆใใ ใใใ
`
$3
| Language | Framework | Package Manager | Testing | Status |
|----------|-----------|----------------|---------|--------|
| TypeScript | Express/Next.js | npm/yarn/pnpm | Vitest | โ
Native |
| JavaScript | React/Vue | npm/yarn/pnpm | Jest | โ
Native |
| Python | FastAPI/Django | pip/poetry | pytest | ๐ Adapt |
| Go | Gin/Echo | go mod | go test | ๐ Adapt |
| Rust | Actix/Rocket | cargo | cargo test | ๐ Adapt |
| Ruby | Rails/Sinatra | bundler | rspec | ๐ Adapt |
| Java | Spring Boot | maven/gradle | junit | ๐ Adapt |
| C# | .NET | nuget | xunit | ๐ Adapt |
Legend:
- โ
Native: Works out-of-the-box
- ๐ Adapt: Use Claude Code to adapt workflows
$3
1. Keep workflow intentions intact - Don't change what workflows do, only how they do it
2. Preserve label system - The 53-label system is language-agnostic
3. Maintain agent roles - CoordinatorAgent, CodeGenAgent, etc. work with any language
4. Update documentation - Document your language-specific setup
$3
We welcome contributions for other languages! See:
- CONTRIBUTING.md - Contribution guidelines
- docs/MULTI_LANGUAGE_GUIDE.md - Template creation guide
---
๐ Commands Reference
$3
Create a new project with full automation.
`bash
Interactive
npx miyabi init my-projectWith options
npx miyabi init my-project --privateSkip npm install
npx miyabi init my-project --skip-install
`Options:
-
-p, --private - Create private repository
- --skip-install - Skip npm install stepWhat it creates:
`
my-project/
โโโ .github/
โ โโโ workflows/ # 12+ GitHub Actions
โ โโโ labels.yml # 53 labels
โโโ .claude/
โ โโโ agents/ # 6 AI agents
โ โโโ commands/ # 7 custom commands
โ โโโ hooks/ # Command hooks
โ โโโ mcp-servers/ # 3 MCP servers
โโโ src/
โโโ package.json
โโโ README.md
`---
$3
Add Miyabi to an existing project.
`bash
Interactive
npx miyabi installDry run (preview changes)
npx miyabi install --dry-runNon-interactive mode (CI/CD, Termux, SSH)
npx miyabi install --non-interactive
npx miyabi install --yes
`Options:
-
--dry-run - Preview changes without making them
- --non-interactive - Skip all prompts (auto-approve)
- -y, --yes - Auto-approve all promptsWhat it does:
- โ
Analyzes existing structure
- โ
Merges labels (non-destructive)
- โ
Auto-labels existing issues
- โ
Deploys missing workflows
- โ
Links to Projects V2
- โ
Creates
.claude/ directorySmart merge:
- Existing labels are preserved
- Workflows skip if already exist
- Issues are auto-labeled intelligently
---
$3
Check agent activity and project status.
`bash
One-time check
npx miyabi statusWatch mode (auto-refresh every 10s)
npx miyabi status --watch
`Output:
`
โโโโโโโโโโโโโโโโฌโโโโโโโโโฌโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโ
โ Agent โ Status โ Task โ Last Update โ
โโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโค
โ Coordinator โ โ
Active โ #123 โ 2 mins ago โ
โ CodeGen โ ๐ค Idle โ - โ - โ
โ Review โ โ
Active โ #124 โ 30 secs ago โ
โ Issue โ โ
Active โ #125 โ 1 min ago โ
โ PR โ ๐ค Idle โ - โ - โ
โ Deploy โ โ
Active โ main โ 5 mins ago โ
โโโโโโโโโโโโโโโโดโโโโโโโโโดโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโ๐ Summary:
โ
4 agents active
๐ค 2 agents idle
๐ฅ 12 pending issues
๐ 3 in progress
`---
$3
Generate documentation from code.
`bash
Interactive
npx miyabi docsDirect
npx miyabi docs --input ./src --output ./docs/API.mdWatch mode
npx miyabi docs --watchInclude training materials
npx miyabi docs --training
`Generates:
- API documentation
- Type definitions
- Usage examples
- Training materials (optional)
---
$3
Manage Miyabi configuration.
`bash
Interactive wizard
npx miyabi configShow current config
npx miyabi config --showReset to defaults
npx miyabi config --reset
`Configuration file (
.miyabi.yml):`yaml
github:
defaultPrivate: true
token: ghp_xxxxx # Or use GITHUB_TOKEN env varproject:
defaultLanguage: typescript
defaultFramework: react
gitignoreTemplate: Node
licenseTemplate: mit
workflows:
autoLabel: true
autoReview: true
autoSync: true
cli:
language: ja # ja or en
theme: default
verboseErrors: true
`---
$3
Interactive setup guide for beginners.
`bash
Interactive mode
npx miyabi setupNon-interactive mode
npx miyabi setup --non-interactiveSkip specific steps
npx miyabi setup --skip-token --skip-config
`Options:
-
--non-interactive - Skip all prompts
- -y, --yes - Auto-approve all prompts
- --skip-token - Skip token setup
- --skip-config - Skip configurationGuides through:
1. โ
Environment check (Node.js, Git, gh CLI)
2. โ
GitHub authentication
3. โ
Token creation
4. โ
Configuration
5. โ
First project creation
---
$3
Comprehensive first-run wizard for new users.
`bash
Interactive onboarding
npx miyabi onboardSkip optional features
npx miyabi onboard --skip-demo --skip-tour
`Options:
-
--skip-demo - Skip demo project creation
- --skip-tour - Skip feature tour
- --non-interactive - Exit (requires interactive mode)
- -y, --yes - Same as --non-interactiveWhat it does:
1. โ
Welcome & introduction
2. โ
System health check (calls
doctor)
3. โ
30-second "What is Miyabi?" overview
4. โ
Demo project creation (optional)
5. โ
Interactive feature tour
6. โ
Quick commands reference
7. โ
Resource linksPerfect for:
- ๐ First-time Miyabi users
- ๐ Learning the system
- ๐ Understanding capabilities
- ๐ Quick start
---
$3
System health check and diagnostics.
`bash
Basic health check
npx miyabi doctorDetailed diagnostics
npx miyabi doctor --verboseJSON output (for AI agents)
npx miyabi doctor --json
`Health Checks Performed:
| Check | Description | Fix Suggestions |
|-------|-------------|-----------------|
| Node.js | Version โฅ18.0.0 | Upgrade Node.js |
| Git | Installation & version | Install Git |
| GitHub CLI |
gh authentication | Run gh auth login |
| GITHUB_TOKEN | Token format validation | Set env var or use gh CLI |
| Token Permissions | Required scopes check | Add repo, workflow, project |
| Network | GitHub API connectivity | Check internet connection |
| Repository | Git repo detection | Initialize git repo |
| .miyabi.yml | Config file validation | Fix YAML syntax |
| Claude Code | Environment detection | N/A (informational) |Output Example:
`
๐ฉบ Miyabi Health Check โ Node.js: v20.10.0 (OK)
โ Git: git version 2.42.0 (OK)
โ GitHub CLI: gh version 2.40.0 (Authenticated)
โ GITHUB_TOKEN: Valid token format
โ Token Permissions: Missing recommended scopes: project
๐ก Add recommended scopes for full functionality: https://github.com/settings/tokens
โ Network Connectivity: GitHub API accessible
โ Repository: Git repository detected
โ Claude Code: Standard terminal
Summary:
โ 7 checks passed
โ 1 warnings
8 total checks
โ Overall: Issues detected (but not critical)
Next Steps:
1. Review the suggestions above to fix issues
2. Run this command again to verify fixes
3. For help: https://github.com/ShunsukeHayashi/Miyabi/issues
`JSON Mode:
`bash
npx miyabi doctor --json
``json
{
"checks": [
{
"name": "Node.js",
"status": "pass",
"message": "v20.10.0 (OK)",
"details": "Node.js v20.10.0 meets minimum requirement (โฅ18)"
},
...
],
"summary": {
"passed": 7,
"warned": 1,
"failed": 0,
"total": 8
},
"overallStatus": "issues"
}
`Exit Codes:
-
0 - Healthy or minor issues
- 1 - Critical issues found---
๐ค AI Agent Integration
$3
Miyabi automatically detects Claude Code environment and provides CLI-friendly output:
`bash
$ npx miyabiโจ Miyabi
ไธใคใฎใณใใณใใงๅ
จใฆใๅฎ็ตใใ่ชๅพๅ้็บใใฌใผใ ใฏใผใฏ
๐ก Claude Code็ฐๅขใๆคๅบใใใพใใ
ๅฉ็จๅฏ่ฝใชใณใใณใ:
npx miyabi init - ๆฐ่ฆใใญใธใงใฏใไฝๆ
npx miyabi install - ๆขๅญใใญใธใงใฏใใซ่ฟฝๅ
npx miyabi status - ในใใผใฟใน็ขบ่ช
npx miyabi docs - ใใญใฅใกใณใ็ๆ
npx miyabi config - ่จญๅฎ็ฎก็
npx miyabi setup - ใปใใใขใใใฌใคใ
่ฉณ็ดฐ: npx miyabi --help
`Detection logic:
-
CLAUDE_CODE=true
- ANTHROPIC_CLI=true
- TERM_PROGRAM=Claude
- ANTHROPIC_API_KEY is set$3
`typescript
import { init, install, status, config } from 'miyabi';// Initialize new project
await init('my-project', {
private: true,
skipInstall: false,
});
// Install to existing project
await install({
dryRun: false,
});
// Get status
const statusData = await status({ watch: false });
console.log(statusData);
// Configure
await config({
githubToken: process.env.GITHUB_TOKEN,
language: 'ja',
});
`$3
`bash
GitHub token (required)
export GITHUB_TOKEN=ghp_your_token_hereAnthropic API key (for AI features)
export ANTHROPIC_API_KEY=sk-ant-xxxWebhook secret (for webhook router)
export WEBHOOK_SECRET=your_secretNon-interactive mode (auto-approve prompts)
export MIYABI_AUTO_APPROVE=trueCI environment (auto-detected)
export CI=true
`Non-Interactive Mode:
Miyabi automatically detects non-interactive environments:
-
MIYABI_AUTO_APPROVE=true - Explicit non-interactive mode
- CI=true - CI/CD environments (GitHub Actions, GitLab CI, etc.)
- Non-TTY terminals - Pipes, redirects, SSH without PTYUsage in CI/CD:
`yaml
GitHub Actions example
- name: Install Miyabi
run: npx miyabi install --non-interactive
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
`Usage in Termux (Android):
`bash
Termux automatically uses non-interactive mode
export MIYABI_AUTO_APPROVE=true
npx miyabi install
`---
๐ง Configuration
$3
1. Command-line flags (highest priority)
`bash
npx miyabi config --token=ghp_xxx
`2. Environment variables
`bash
export GITHUB_TOKEN=ghp_xxx
`3. Config file (
.miyabi.yml)
`yaml
github:
token: ghp_xxx
`4. Default values (lowest priority)
$3
`yaml
github:
token: ghp_xxxxx # GitHub Personal Access Token
defaultPrivate: true # Create private repos by default
defaultOrg: my-org # Default organizationproject:
defaultLanguage: typescript # typescript, javascript, python, go, rust
defaultFramework: react # react, vue, angular, next, express
gitignoreTemplate: Node # Node, Python, Go, Rust, Java, etc.
licenseTemplate: mit # mit, apache-2.0, gpl-3.0, etc.
workflows:
autoLabel: true # Auto-label new issues
autoReview: true # Auto-review PRs
autoSync: true # Auto-sync to Projects
cli:
language: ja # ja (ๆฅๆฌ่ช) or en (English)
theme: default # default, minimal, colorful
verboseErrors: true # Show detailed error messages
`---
๐ Requirements
Node.js
โฅ 18.0.0

Git
Latest

GitHub CLI
Latest

GitHub
Account

Token
PAT

$3
`bash
Check requirements
node --version # Should be >= 18.0.0
git --version # Any recent version
gh --version # Latest stableInstall miyabi (no installation needed for npx)
npx miyabi@latestOr install globally
npm install -g miyabi
`$3
Recommended: Use GitHub CLI (automatic)
`bash
Authenticate once
gh auth loginMiyabi will automatically use gh CLI token
npx miyabi install
โ
GitHub authentication complete (via gh CLI)
`Alternative: Personal Access Token
If you prefer manual token management, create at: https://github.com/settings/tokens/new
Required scopes:
- โ
repo - Full repository access
- โ
workflow - Update workflows
- โ
write:packages - Publish packages
- โ
delete:packages - Manage packages
- โ
admin:org - Organization management (for org repos)
- โ
project - Projects V2 accessToken Priority:
1. gh CLI (automatic, recommended) -
gh auth login
2. GITHUB_TOKEN environment variable - export GITHUB_TOKEN=ghp_xxx
3. .env file - Local development
4. OAuth flow - Interactive fallback---
๐ Troubleshooting
GITHUB_TOKEN not found
Error:
`
โ GITHUB_TOKEN not found in environment๐ก ๅฏพๅฆๆณ:
1. ็ฐๅขๅคๆฐ GITHUB_TOKEN ใ่จญๅฎใใฆใใ ใใ
2.
export GITHUB_TOKEN=ghp_your_token
3. ใใใใฏ miyabi config ใๅฎ่กใใฆ่จญๅฎใใฆใใ ใใ
`Solution:
Option 1: Use GitHub CLI (Recommended)
`bash
One-time setup
gh auth loginMiyabi will automatically use gh CLI token
npx miyabi install
`Option 2: Environment variable
`bash
export GITHUB_TOKEN=ghp_your_token_here
npx miyabi init my-project
`Option 3: .env file (local development only)
`bash
echo "GITHUB_TOKEN=ghp_your_token" > .env
npx miyabi install
`โ ๏ธ Security Warning:
- Only use
.env for local development
- Always add .env to .gitignore
- Never commit .env to version control
- See SECURITY.md for best practicesOption 4: Config file
`bash
npx miyabi config
โ Follow prompts to set token
`
Repository already exists
Error:
`
โ repository creation failed: ใชใใธใใชๅ "my-project" ใฏๆขใซๅญๅจใใฆใใพใ๐ก ่งฃๆฑบ็ญ:
1. ๅฅใฎๅๅใ่ฉฆใใฆใใ ใใ: npx miyabi init my-project-2
2. ใพใใฏใๆขๅญใชใใธใใชใๅ้ค: gh repo delete my-project --yes
3. GitHub ใง็ขบ่ช: https://github.com/settings/repositories
`Solution:
Option 1: Different name
`bash
npx miyabi init my-project-new
`Option 2: Delete existing (โ ๏ธ careful!)
`bash
gh repo delete my-project --yes
npx miyabi init my-project
`Option 3: Install to existing
`bash
gh repo clone my-project
cd my-project
npx miyabi install
`
Rate limit exceeded
Error:
`
โ GitHub API rate limit exceeded
`Solution:
Check rate limit:
`bash
gh api rate_limit
`Wait or use authenticated token:
`bash
export GITHUB_TOKEN=ghp_your_token
`Rate limits:
- Unauthenticated: 60 requests/hour
- Authenticated: 5,000 requests/hour
Templates directory not found
Error:
`
โ Claude template directory not found: /path/to/templates/claude-code
`Solution:
Reinstall miyabi:
`bash
npm uninstall -g miyabi
npm cache clean --force
npx miyabi@latest init my-project
`Or use local installation:
`bash
git clone https://github.com/ShunsukeHayashi/Miyabi.git
cd Miyabi/packages/cli
npm install
npm run build
npm link
miyabi init my-project
`
Claude Code not detected
Issue: Running in Claude Code but interactive mode appears
Solution:
Manually set environment:
`bash
export CLAUDE_CODE=true
npx miyabi
`Or use direct commands:
`bash
npx miyabi init my-project
npx miyabi status
`
npx miyabi-agent-sdk ใจใฉใผใจใฉใผ:
`
npm error code ETARGET
npm error notarget No matching version found for miyabi-agent-sdk@*
`ๅๅ :
miyabi-agent-sdk ใฏใฉใคใใฉใชใงใใใCLIใใผใซใงใฏใใใพใใใ
npx miyabi-agent-sdk ใฎใใใซๅฎ่กใใใใจใฏใงใใพใใใๆญฃใใไฝฟใๆน:
Option 1: Miyabi CLI ใไฝฟ็จ๏ผๆจๅฅจ๏ผ
`bash
Miyabi CLI ใใ Agent ใๅฎ่ก
npx miyabi agent run codegen --issue=123
npx miyabi agent run review --pr=456 --issue=123
npx miyabi agent run pr --issue=123
`Option 2: ใใญใฐใฉใ ใใ็ดๆฅไฝฟ็จ
`typescript
// package.json
{
"dependencies": {
"miyabi-agent-sdk": "^0.1.0-alpha.2"
}
}// your-code.ts
import { CodeGenAgent } from 'miyabi-agent-sdk';
const agent = new CodeGenAgent({
githubToken: process.env.GITHUB_TOKEN,
anthropicApiKey: process.env.ANTHROPIC_API_KEY,
});
const result = await agent.generate({
issueNumber: 123,
repository: 'my-repo',
owner: 'my-org',
});
`่ฉณ็ดฐ:
-
miyabi - CLIใใผใซ๏ผnpx miyabiใงๅฎ่ก๏ผ
- miyabi-agent-sdk - ใฉใคใใฉใช๏ผimport`ใงไฝฟ็จ๏ผ---
- ๐ Getting Started Guide - Step-by-step setup
- ๐ธ For Non-Programmers - Complete beginner guide
- ๐ฆ Install to Existing Project - Migration guide
- ๐งช Edge Case Tests - Testing scenarios
- ๐ค Agent Operations Manual - Agent system
- ๐ Webhook Event Bus - Event routing
- ๐ Testing Guide - Test strategies
- ๐ API Documentation - Full API reference
- ๐ง Configuration Schema - Config options
- ๐ท๏ธ Label Reference - All 53 labels
---




---
Built with love using:
CLI framework | Interactive prompts | Terminal styling | GitHub API client |
Claude integration | Type-safe development | Fast unit tests | Modern JS |
---
MIT ยฉ Shunsuke Hayashi
Open source with โค๏ธ from Tokyo ๐ผ
---
Note for AI Agents: This README contains full context. All features are documented above. Start by reading the AI Agent Integration section.
๐ธ Made with elegance and precision โข Report Issues โข Contribute