darkmatter/hermes/beads-linear-sync
Claude Code and agent skill by darkmatter/hermes
- community
Checking that the SKILL.md file is still in the repository.
Use when configuring or operating Beads Linear sync in Darkmatter repos, especially choosing Linear team/project scope, mapping Beads prefixes to Linear identifiers, handling himitsu API keys, or dry-running bd linear sync safely.
Install
npx vskill@latest install darkmatter/hermes/beads-linear-syncSKILL.md
The same SKILL.md was published earlier as darkmatter/hermes/beads-linear-sync.
Beads Linear sync
Overview
Use Beads as the repo-local task namespace and Linear as the org-visible planning surface. Treat Beads IDs like infra-* as local repository identifiers; treat Linear IDs like LAB-* as team-owned identifiers; connect them with external_ref after sync.
Default Darkmatter Linear team: LAB. Use another team only when the user explicitly names it or a repo already has a documented team owner.
When to use
- User asks to connect Beads to Linear, enable Linear sync, or run
bd linear sync. - User asks how Beads prefixes map to Linear issue prefixes.
- A repo has
.beads/and needs team/project/status/priority mapping configured. - A Linear API key is available through
himitsuor another approved secret store. - Sync would create, import, or update issues and needs a dry-run safety pass first.
When NOT to use
- Repo has no Beads database yet: use
beads-setupfirst. - User only wants local issue tracking with no Linear integration.
- User asks to create Linear tickets outside Beads sync; use the project’s normal Linear workflow.
- A required API key is missing and cannot be fetched from an approved secret store.
Core model
| Concept | Owner | Example | Rule | |
|---|---|---|---|---|
| Beads prefix | Repository | infra-*, skills-* | Local namespace only. Do not force it to match Linear. | |
| Linear team key | Linear team | LAB-*, ENG-* | Determines Linear issue identifiers. | |
| Linear project | Linear planning scope | Platform Monorepo PoC | Optional filter/grouping; does not change issue prefix. | |
| Link field | Beads issue | external_ref | Durable bridge from Beads issue to Linear issue. |
Preferred default:
Do not store personal Linear tokens in Beads config. Inject them for each command:
Configuration checklist
- Confirm the secret points at Darkmatter Linear without printing the token.
``bash LINEAR_API_KEY=<REDACTED> ``
- Configure LAB as the default team unless the repo documents a different owner.
``bash bd config set linear.team_id "295ca234-4223-4c86-9e26-85b74968c77a" bd config unset linear.team_ids || true ``
- Configure one Linear state per Beads status. This avoids ambiguous push fallbacks when Linear has both
In ProgressandIn Reviewasstartedstates.
``bash bd config set "linear.state_map.Todo" open bd config set "linear.state_map.In Progress" in_progress bd config set "linear.state_map.Done" closed ``
- Configure reusable priority, type, relation, and ID rules.
``bash bd config set linear.id_mode hash bd config set linear.priority_map.0 4 bd config set linear.priority_map.1 0 bd config set linear.priority_map.2 1 bd config set linear.priority_map.3 2 bd config set linear.priority_map.4 3 bd config set linear.label_type_map.bug bug bd config set linear.label_type_map.feature feature bd config set linear.label_type_map.epic epic bd config set linear.relation_map.blocks blocks bd config set linear.relation_map.blockedBy blocks bd config set linear.relation_map.duplicate duplicates bd config set linear.relation_map.related related ``
- Use
linear.project_idonly when the repo has a clearly owned Linear project. Leaving it unset is safer for a team-wide default.
Safety workflow
Run dry-runs before any real sync.
Interpret dry-runs before proceeding:
- Pull imports unrelated Linear issues: narrow by team/project or stop and ask.
- Pull imports many closed/canceled issues: ask before real pull.
- Push creates expected local issues: proceed only if user wants real Linear tickets.
- Push says no-op while status says local-only: investigate before trusting sync.
- State map ambiguity appears: keep exactly one Linear state mapped to each Beads status.
Common mistakes
- Assuming `infra-*` must become `INFRA-*`. Beads prefixes are repo-local. Linear prefix comes from the Linear team key.
- Using ENG by default. Use LAB unless ownership says otherwise.
- Setting all Linear state types. Mapping
backlog,unstarted, and customIn Reviewall toopenmakes push ambiguous. Pick a single target state for each Beads status. - Storing `linear.api_key`. Prefer
LINEAR_API_KEY="$(himitsu read ...)"so secrets stay in the secret store. - Running bidirectional sync first. Use separate pull and push dry-runs so the direction and blast radius are visible.
Commit hygiene
Beads writes configuration into its Dolt database and may update .beads/issues.jsonl. Before claiming the integration is ready, inspect both Git and Beads state:
Commit only intentional Beads config/export changes. Do not include unrelated issue exports or user worktree changes.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/openclaw-imports/beads-linear-sync/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/darkmatter/hermes/beads-linear-sync)