By saharcarmel
A Claude Code function-hooks plugin that puts your Linear board in a pane and turns issues into ready-made prompts.
npx claudepluginhub saharcarmel/linear-mod/linear: your Linear projects, milestones and issues in a pane beside the transcript. Read an issue, then press plan, execute or product to send a ready prompt about it into this session. A Claude Code function-hooks (Mods) plugin.
/linear opens your Linear board in a pane beside the Claude Code transcript: projects with their current milestone, a project's open issues (or your own across teams), and one issue's description and comments. From an issue, the plan, execute and product buttons send a ready-made prompt about it into your Claude Code session, so Claude starts the work without you copying anything.
It's a Claude Code function-hooks ("Claude Mods") plugin — that API is in early access. No server, no account, no data leaves your machine except the Linear API calls.
Requirements: Bun 1.3+, Claude Code with the experimental function-hooks API (tested with 2.1.269–2.1.273; other builds may need API updates), and a Linear personal API key.
Clone this repository (or use GitHub Code → Download ZIP):
git clone https://github.com/SaharCarmel/linear-mod.git
cd linear-mod
Set your Linear API key for the session:
export LINEAR_API_KEY=lin_api_...
Launch from any project using the absolute path to your downloaded launcher:
/path/to/linear-mod/start.sh
Run /linear to open the pane.
The launcher enables function hooks and loads the nested linear-mod/ plugin. No dependency installation is needed to use the plugin. The API key can also be set later via /config instead of the environment variable, and stored there (see linear-mod/README.md).
This repository also includes a Claude Code plugin marketplace manifest. In a compatible build:
/plugin marketplace add SaharCarmel/linear-mod
/plugin install linear@linear-mod
Then set CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 in ~/.claude/settings.json's env block (see claude-settings.example.json) so every session loads it, instead of using start.sh each time.
If you'd rather point Claude Code straight at your local clone (no GitHub round trip, works offline), add to ~/.claude/settings.json:
{
"env": { "CLAUDE_CODE_ENABLE_FUNCTION_HOOKS": "1" },
"extraKnownMarketplaces": {
"linear-mod": { "source": { "source": "directory", "path": "/absolute/path/to/linear-mod" } }
},
"enabledPlugins": { "linear@linear-mod": true }
}
Restart Claude Code and /linear is available in every session on the machine, in any project, with no --plugin-dir flag.
See linear-mod/README.md for the full command reference, how the pane and the prompt templates work, and the privacy notes on what data the plugin sends and where. Short version:
| Command | What it does |
|---|---|
/linear | Open the pane at the last view. |
/linear ENG-123 | Open one issue directly (your team's own prefix). |
/linear mine | Your open issues across teams. |
/linear prompts | Edit the plan/execute/product templates the buttons send. |
/linear help | List every command. |
.claude-plugin/marketplace.json marketplace manifest, points at linear-mod/
linear-mod/ the plugin itself — hooks, tests, its own README
scripts/audit-public.py scans the git index for personal paths, keys and other artifacts before a release
.github/workflows/checks.yml CI: bun test + the audit script on every push and PR
See CONTRIBUTING.md. Bug reports and PRs welcome — this started as a personal tool, so expect rough edges outside the exact workflow it was built for.
MIT — see LICENSE.
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.