
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
ai-build-tool
Advanced tools
Generate user stories from feature descriptions, push them to Linear, then have AI agents build the code with Claude Flow
Generate user stories from feature descriptions, push them to Linear, then have AI agents build the code — all from Claude Code.
npm install linear-ai-build
npx linear-ai-build init
This will:
.env file with your credentials.mcp.json)Install Claude Flow globally:
npm install -g claude-flow@alpha
Create stories and tasks in Linear from a feature description.
CLI:
npx linear-ai-build generate "Add user authentication with OAuth" TEAM-abc123
npx linear-ai-build generate "Add user authentication with OAuth" TEAM-abc123 "Auth Epic"
Claude Code:
/linear:generate-stories "Add user authentication with OAuth" TEAM-abc123
/linear:generate-stories "Add user authentication with OAuth" TEAM-abc123 "Auth Epic"
The third argument is an optional project name. If provided, issues are created under that Linear project (existing projects with the same name are reused). If omitted, the PRD title is used as the project name.
Options:
| Flag | Description |
|---|---|
--dry-run | Preview the generated PRD without creating anything in Linear |
--cycle <id> | Assign issues to a specific cycle (defaults to active cycle) |
--assignee <id> | Assign issues to a specific user (defaults to you) |
--no-cycle | Skip cycle assignment |
--no-assignee | Skip assignee assignment |
--skip-questions | Skip clarifying questions, generate PRD directly |
Pull labeled stories from Linear and have Claude Flow agents implement the code.
Claude Code:
/linear:build-from-linear
/linear:build-from-linear WIC-42
/linear:build-from-linear --label ai-build
This command:
ai-build label (or a specific issue)linear/<issue-identifier>)Alternatively, poll Linear and auto-process issues without Claude Code:
npx linear-ai-build watch
npx linear-ai-build watch --project "My Project"
Or process a single issue:
npx linear-ai-build build WIC-42
Feature Description
|
v
/linear:generate-stories
|
v
Linear (stories + tasks created)
|
Label with "ai-build"
|
v
/linear:build-from-linear
|
v
Claude Flow Agents
Plan → Implement → Test → Review
|
v
Git branch + PR ready
Linear issues moved to "In Review"
| Variable | Required | Description |
|---|---|---|
LINEAR_API_KEY | Yes | Linear API key |
LINEAR_TEAM_ID | Yes | Default team ID or key (e.g., WIC) |
ANTHROPIC_API_KEY | For CLI | Anthropic API key (not needed for Claude Code plugin) |
TARGET_REPO_PATH | No | Where agents write code (default: current directory) |
TARGET_BRANCH | No | Base branch for new branches (default: main) |
POLL_INTERVAL_MS | No | Watch mode polling interval (default: 30000) |
AI_BUILD_LABEL | No | Linear label to watch for (default: ai-build) |
Configured in .mcp.json:
| Server | Purpose |
|---|---|
linear | Linear API — fetch/create/update issues, comments, projects |
claude-flow | Claude Flow — agent swarm orchestration, task management |
linear-ai-build/
bin/
cli.ts # CLI entry point (init, generate, watch, build)
init.ts # Interactive setup
commands/
generate-stories.md # /linear:generate-stories command
build-from-linear.md # /linear:build-from-linear command
src/
generate-sdk.ts # PRD generation + Linear SDK integration
index.ts # MCP-based alternative
bridge/
index.ts # Watch/build entry point
watcher.ts # Linear polling loop
executor.ts # Claude Flow workflow executor
transformer.ts # Issue → workflow builder
reporter.ts # Linear status updates
linear-helpers.ts # Shared Linear SDK helpers
config.ts # Bridge configuration
state.ts # Deduplication tracking
types.ts # TypeScript types
.env.example
.mcp.json # MCP server config (Linear + Claude Flow)
package.json
tsconfig.json
Make sure .env exists and contains your key, or export it directly:
export LINEAR_API_KEY=lin_api_...
Verify your team ID:
curl -X POST https://api.linear.app/graphql \
-H "Authorization: lin_api_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "{ viewer { teams { nodes { id name key } } } }"}'
Re-register the MCP server:
claude mcp add claude-flow -- npx -y claude-flow@alpha mcp start
Claude occasionally produces unparseable output. Try running again or simplifying the feature description.
MIT
FAQs
Generate user stories from feature descriptions, push them to Linear, then have AI agents build the code with Claude Flow
We found that ai-build-tool demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.