← Back to Skills Marketplace
terryren2024

Linear 1.0.0

by TerryRen2024 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
213
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install linear-1-0-0
Description
Query and manage Linear issues, projects, and team workflows.
README (SKILL.md)

Linear

Manage issues, check project status, and stay on top of your team's work.

Setup

export LINEAR_API_KEY="your-api-key"
# Optional: default team key used when a command needs a team
export LINEAR_DEFAULT_TEAM="TEAM"

Discover team keys:

{baseDir}/scripts/linear.sh teams

If LINEAR_DEFAULT_TEAM is set, you can omit the team key in team and call:

{baseDir}/scripts/linear.sh create "Title" ["Description"]

Quick Commands

# My stuff
{baseDir}/scripts/linear.sh my-issues          # Your assigned issues
{baseDir}/scripts/linear.sh my-todos           # Just your Todo items
{baseDir}/scripts/linear.sh urgent             # Urgent/High priority across team

# Browse
{baseDir}/scripts/linear.sh teams              # List available teams
{baseDir}/scripts/linear.sh team \x3CTEAM_KEY>    # All issues for a team
{baseDir}/scripts/linear.sh project \x3Cname>     # Issues in a project
{baseDir}/scripts/linear.sh issue \x3CTEAM-123>   # Get issue details
{baseDir}/scripts/linear.sh branch \x3CTEAM-123>  # Get branch name for GitHub

# Actions
{baseDir}/scripts/linear.sh create \x3CTEAM_KEY> "Title" ["Description"]
{baseDir}/scripts/linear.sh comment \x3CTEAM-123> "Comment text"
{baseDir}/scripts/linear.sh status \x3CTEAM-123> \x3Ctodo|progress|review|done|blocked>
{baseDir}/scripts/linear.sh assign \x3CTEAM-123> \x3CuserName>
{baseDir}/scripts/linear.sh priority \x3CTEAM-123> \x3Curgent|high|medium|low|none>

# Overview
{baseDir}/scripts/linear.sh standup            # Daily standup summary
{baseDir}/scripts/linear.sh projects           # All projects with progress

Common Workflows

Morning Standup

{baseDir}/scripts/linear.sh standup

Shows: your todos, blocked items across team, recently completed, what's in review.

Quick Issue Creation (from chat)

{baseDir}/scripts/linear.sh create TEAM "Fix auth timeout bug" "Users getting logged out after 5 min"

Triage Mode

{baseDir}/scripts/linear.sh urgent    # See what needs attention

Git Workflow (Linear ↔ GitHub Integration)

Always use Linear-derived branch names to enable automatic issue status tracking.

Getting the Branch Name

{baseDir}/scripts/linear.sh branch TEAM-212
# Returns: dev/team-212-fix-auth-timeout-bug

Creating a Worktree for an Issue

# 1. Get the branch name from Linear
BRANCH=$({baseDir}/scripts/linear.sh branch TEAM-212)

# 2. Pull fresh main first (main should ALWAYS match origin)
cd /path/to/repo
git checkout main && git pull origin main

# 3. Create worktree with that branch (branching from fresh origin/main)
git worktree add .worktrees/team-212 -b "$BRANCH" origin/main
cd .worktrees/team-212

# 4. Do your work, commit, push
git push -u origin "$BRANCH"

⚠️ Never modify files on main. All changes happen in worktrees only.

Why This Matters

  • Linear's GitHub integration tracks PRs by branch name pattern
  • When you create a PR from a Linear branch, the issue automatically moves to "In Review"
  • When the PR merges, the issue automatically moves to "Done"
  • Manual branch names break this automation
  • Keeping main clean = no accidental pushes, easy worktree cleanup

Quick Reference

# Full workflow example
ISSUE="TEAM-212"
BRANCH=$({baseDir}/scripts/linear.sh branch $ISSUE)

# Always start from fresh main
cd ~/workspace/your-repo
git checkout main && git pull origin main

# Create worktree (inside .worktrees/)
git worktree add .worktrees/${ISSUE,,} -b "$BRANCH" origin/main
cd .worktrees/${ISSUE,,}

# ... make changes ...
git add -A && git commit -m "fix: implement $ISSUE"
git push -u origin "$BRANCH"
gh pr create --title "$ISSUE: \x3Ctitle>" --body "Closes $ISSUE"

Priority Levels

Level Value Use for
urgent 1 Production issues, blockers
high 2 This week, important
medium 3 This sprint/cycle
low 4 Nice to have
none 0 Backlog, someday

Teams (cached)

Team keys and IDs are discovered via the API and cached locally after the first lookup. Use linear.sh teams to refresh and list available teams.

Notes

  • Uses GraphQL API (api.linear.app/graphql)
  • Requires LINEAR_API_KEY env var
  • Issue identifiers are like TEAM-123

Attribution

Inspired by schpet/linear-cli by Peter Schilling (ISC License). This is an independent bash implementation for Clawdbot integration.

Usage Guidance
What to check before installing: - Review the full scripts/linear.sh file (the manifest view here was truncated) to ensure there is no unexpected behavior or hidden endpoints. - Confirm curl and jq are present on the host (the script requires them) and update the skill metadata if needed. - Verify the LINEAR_API_KEY you supply has the minimal scopes needed (use a limited-scope token) because the script sends that key in Authorization headers to api.linear.app. - Be aware the script caches team data in /tmp using a checksum-derived filename based on the API key; this cache is local but you may want to control its location via LINEAR_TEAMS_CACHE if you have security policies about /tmp contents. - Check the owner/source (homepage is correct for Linear, but ownerId in _meta.json differs from the registry owner id shown) — prefer skills from a known repository or vendor when possible. - If you plan to allow autonomous agent invocation, remember the agent could call these operations automatically; limit the API key scope accordingly. If anything in the full script looks unexpected, do not install.
Capability Analysis
Type: OpenClaw Skill Name: linear-1-0-0 Version: 1.0.0 The skill provides a functional bash-based CLI wrapper for the Linear API, allowing an agent to manage issues, projects, and team workflows. The script (scripts/linear.sh) uses standard GraphQL queries via curl and jq, implements local caching of team IDs in /tmp using a checksum of the API key for isolation, and follows documented Git best practices for worktrees. No evidence of data exfiltration, malicious execution, or prompt injection was found.
Capability Assessment
Purpose & Capability
The skill's name and description match its behavior: the script wraps the Linear GraphQL API and performs issue/project/team operations. Requested env var (LINEAR_API_KEY) is expected. Minor inconsistency: the registry metadata lists no required binaries, but the script requires curl and jq (and the SKILL.md examples reference gh for PR creation). Confirm curl/jq are available or update metadata.
Instruction Scope
SKILL.md instructs the agent to run the included bash script which performs only GraphQL requests to api.linear.app and local caching of team data in /tmp. The instructions do not request unrelated system files or external endpoints. Note: the skill listing in this evaluation shows the script output truncated — review the full scripts/linear.sh file before trusting it to ensure there is no unexpected code beyond the displayed portion.
Install Mechanism
No install spec (instruction-only with an included script). Nothing is downloaded from third-party URLs or written during an install step. Risk is limited to the content of the provided script which will run when invoked.
Credentials
Only LINEAR_API_KEY is required by the skill (optional LINEAR_DEFAULT_TEAM and LINEAR_TEAMS_CACHE are referenced). That is proportionate to the described functionality. The script derives a cache filename from a checksum of the API key and stores cached team data under /tmp; this is local storage and not an exfiltration channel, but it does create files named from a checksum of your key. Ensure you only provide a key with minimal necessary scopes.
Persistence & Privilege
The skill is not always-enabled and does not request elevated or persistent platform privileges. It writes a teams cache to /tmp (scoped to the API key checksum) but does not modify other skills or system configs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install linear-1-0-0
  3. After installation, invoke the skill by name or use /linear-1-0-0
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of the Linear skill for querying and managing Linear issues, projects, and team workflows. - Provides bash CLI commands for issue management, team/project browsing, and workflow automation. - Integrates GitHub branch naming for automated Linear issue tracking. - Supports standup summaries, issue creation, assignment, status, and priority updates. - Requires a Linear API key and (optionally) a default team for streamlined commands.
Metadata
Slug linear-1-0-0
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Linear 1.0.0?

Query and manage Linear issues, projects, and team workflows. It is an AI Agent Skill for Claude Code / OpenClaw, with 213 downloads so far.

How do I install Linear 1.0.0?

Run "/install linear-1-0-0" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Linear 1.0.0 free?

Yes, Linear 1.0.0 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Linear 1.0.0 support?

Linear 1.0.0 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Linear 1.0.0?

It is built and maintained by TerryRen2024 (@terryren2024); the current version is v1.0.0.

💬 Comments