{"id":36543212,"url":"https://github.com/nisarg38/claude-northstar","last_synced_at":"2026-01-15T02:55:32.203Z","repository":{"id":332029641,"uuid":"1129159618","full_name":"Nisarg38/claude-northstar","owner":"Nisarg38","description":"Transform CLI agents from task executors into autonomous project partners. Share your vision, not your todo list.","archived":false,"fork":false,"pushed_at":"2026-01-06T17:43:06.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-12T12:39:37.750Z","etag":null,"topics":["claude-code","cli-agents"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nisarg38.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-06T17:32:26.000Z","updated_at":"2026-01-06T20:12:23.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Nisarg38/claude-northstar","commit_stats":null,"previous_names":["nisarg38/claude-northstar"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Nisarg38/claude-northstar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nisarg38%2Fclaude-northstar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nisarg38%2Fclaude-northstar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nisarg38%2Fclaude-northstar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nisarg38%2Fclaude-northstar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nisarg38","download_url":"https://codeload.github.com/Nisarg38/claude-northstar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nisarg38%2Fclaude-northstar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28441768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"online","status_checked_at":"2026-01-15T02:00:08.019Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude-code","cli-agents"],"created_at":"2026-01-12T05:50:53.390Z","updated_at":"2026-01-15T02:55:32.192Z","avatar_url":"https://github.com/Nisarg38.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Claude North Star\n\n\u003e Transform CLI agents from task executors into autonomous project partners\n\n[![npm version](https://img.shields.io/npm/v/claude-northstar.svg)](https://www.npmjs.com/package/claude-northstar)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## What is this?\n\n**Claude North Star** is a goal-oriented development framework for CLI agents like [Claude Code](https://docs.anthropic.com/en/docs/claude-code) and OpenCode. Instead of giving your AI agent task after task, you share a **vision** and it works autonomously toward it.\n\n### Before (Task-Based)\n```\nYou: \"Create the user model\"\nAgent: \"Done. What's next?\"\nYou: \"Add authentication\"\nAgent: \"Done. What's next?\"\nYou: \"Write tests\"\n... (repeat forever)\n```\n\n### After (Goal-Oriented)\n```\nYou: \"I want to build a fitness app with workout tracking and Watch sync\"\nNorth Star: Plans milestones → Works autonomously → Reports progress → Asks strategic questions only\n```\n\n## Installation\n\n### One command (recommended)\n\n```bash\nnpx claude-northstar init\n```\n\n### Other options\n\n```bash\n# Check status\nnpx claude-northstar status\n\n# Uninstall\nnpx claude-northstar uninstall\n```\n\n### Alternative: curl\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/nisarg38/claude-northstar/main/install.sh | bash\n```\n\n## Quick Start\n\n1. **Install North Star** in your project (see above)\n\n2. **Start Claude Code** and share your vision:\n   ```\n   I want to build a fitness app with workout tracking.\n   Success looks like: users can log workouts on their phone and see progress over time.\n   ```\n\n3. **North Star will:**\n   - Capture your vision in `north-star.md`\n   - Analyze your codebase\n   - Propose milestones\n   - Start working autonomously\n\n4. **Resume anytime** by saying `continue`\n\n## How It Works\n\n### The Main Agent as Tech Lead\n\nThe Claude Code session acts as a **Tech Lead** that:\n- Understands your vision\n- Plans milestones and priorities\n- Coordinates a team of sub-agents\n- Reports meaningful progress\n- Asks only strategic questions\n\n### The Team (Sub-Agents)\n\n| Role | Purpose | When Used |\n|------|---------|-----------|\n| **Product Researcher** | Market research, competitors | Early planning |\n| **Strategist** | Architecture decisions | Technical crossroads |\n| **Developer** | Implementation | Building features |\n| **QA** | Testing, verification | After implementation |\n| **Reviewer** | Code review | Before merging |\n\n### The Autonomous Work Loop\n\n```\n┌─────────┐     ┌─────────┐     ┌─────────┐     ┌─────────┐\n│ ANALYZE │ ──▶ │  PLAN   │ ──▶ │ EXECUTE │ ──▶ │ EVALUATE│\n│ state   │     │ next    │     │ work    │     │ progress│\n└─────────┘     └─────────┘     └─────────┘     └─────────┘\n     ▲                                               │\n     └───────────────────────────────────────────────┘\n```\n\n## North Star Files\n\nAfter installation, you'll have:\n\n```\n.claude/harness/\n├── north-star.md           # Your project vision (THE source of truth)\n├── project-state.json      # Current state, milestones, progress\n├── decisions.md            # Architecture decisions log\n├── progress-log.md         # Session-by-session progress\n└── prompts/                # Sub-agent prompt templates\n    ├── product-researcher.md\n    ├── strategist.md\n    ├── developer.md\n    ├── qa.md\n    └── reviewer.md\n```\n\n### north-star.md\n\nThe vision document. Define what you're building and what success looks like:\n\n```markdown\n# Project North Star\n\n## Vision\nBuild a fitness app with workout tracking and Apple Watch sync.\n\n## Success Criteria\n- [ ] User can log workouts on iPhone\n- [ ] Workouts sync to Apple Watch\n- [ ] Clean, intuitive UI\n\n## Constraints\n- iOS 17+ only\n- SwiftUI preferred\n```\n\n### project-state.json\n\nTracks progress across sessions:\n\n```json\n{\n  \"milestones\": [\n    {\"id\": \"m1\", \"title\": \"Core models\", \"status\": \"done\"},\n    {\"id\": \"m2\", \"title\": \"Workout UI\", \"status\": \"in_progress\", \"progress\": 0.6}\n  ],\n  \"currentFocus\": \"m2\",\n  \"gaps\": [\"Missing HealthKit integration\"]\n}\n```\n\n## Key Behaviors\n\n| Behavior | Description |\n|----------|-------------|\n| **Goal-Oriented** | Refers to `north-star.md` constantly |\n| **Self-Directing** | Figures out what to do, doesn't wait for tasks |\n| **Progress Tracking** | Tracks milestones, not individual tasks |\n| **Strategic Questions** | Asks only for major decisions |\n| **Session Continuity** | State persists, say \"continue\" to resume |\n| **Quality Pipeline** | Dev → QA → Review → Merge |\n\n## When North Star Asks You\n\nNorth Star will only interrupt for:\n\n- **Major architecture decisions**: \"Should we use PostgreSQL or SQLite?\"\n- **Ambiguous requirements**: \"Should workout history be editable?\"\n- **Milestone reviews**: \"Milestone 1 complete. Here's what I built. Review?\"\n\nIt will **NOT** ask for:\n- Every task completion\n- Minor implementation choices\n- Routine progress updates\n\n## Recommended Setup\n\n### With Jujutsu (jj)\n\nFor better workspace isolation during parallel work:\n\n```bash\n# Install jj\nbrew install jj\n\n# Initialize in your repo\njj git init --colocate\n```\n\nNorth Star works with plain git, but jj enables:\n- Isolated workspaces for parallel tasks\n- Conflicts as data (operations never fail)\n- Easy rollback via operation log\n\n### CLAUDE.md\n\nNorth Star adds a section to your `CLAUDE.md` (or creates one) explaining how to use it. This gives Claude Code the context it needs.\n\n## Examples\n\n### Starting a New Project\n\n```\nYou: \"I want to build a CLI tool for managing dotfiles.\n     It should support multiple machines, git sync, and templating.\"\n\nNorth Star: \"I'll capture this vision. Here's my proposed milestone plan:\n         M1: Core dotfile linking\n         M2: Git sync integration\n         M3: Multi-machine profiles\n         M4: Template system\n\n         Does this align with your vision?\"\n\nYou: \"Yes, start with M1\"\n\nNorth Star: [Works for 30 minutes]\n         \"M1 complete. Created symlink manager with conflict detection.\n          Tests passing. Ready for M2?\"\n```\n\n### Resuming Work\n\n```\nYou: \"continue\"\n\nNorth Star: \"Last session: Completed M1 (dotfile linking).\n         Current: M2 (git sync) at 40%.\n         Continuing with git sync integration...\"\n```\n\n### Strategic Question\n\n```\nNorth Star: \"For git sync, I can either:\n         A) Use libgit2 - faster, but adds dependency\n         B) Shell out to git - simpler, requires git installed\n\n         Given your goal of easy installation, which approach?\"\n\nYou: \"B, keep it simple\"\n\nNorth Star: \"Noted in decisions.md. Continuing...\"\n```\n\n## Uninstalling\n\n```bash\nrm -rf .claude/harness\n# Optionally remove the North Star section from CLAUDE.md\n```\n\n## Contributing\n\nContributions welcome! Areas of interest:\n\n- [ ] More sub-agent prompts (security auditor, documentation writer)\n- [ ] Better milestone planning heuristics\n- [ ] Integration with more CLI agents\n- [ ] Headless mode for extended operation\n\n## License\n\nMIT\n\n---\n\n*North Star thinks about what to do, not just does what it's told.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnisarg38%2Fclaude-northstar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnisarg38%2Fclaude-northstar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnisarg38%2Fclaude-northstar/lists"}