agentleFS
AnthropicKnown publisheranthropics/claude-quickstarts/managed-agents/linear/CLAUDE.md

claude-quickstarts / linear

CLAUDE.md18k starsChanged 2 months agoMITView on GitHub

Stateless webhook bridge: Linear AgentSessionEvent → Managed Agents session (with routing metadata) → session.status_idled webhook → createAgentActivity reply. Pull exact shapes from the /claude-api skill's shared/managed-agents-*.md docs. Run the server with bun run dev. Agent provisioning is ant apply --yes agents environments from this directory (ant 1.30 or later; name the directories rather than ., and pass --yes because you have no terminal for its confirmation prompt, or --dry-run to show the plan first): it creates the agent and environment…

  • Reads credentials

Trending

More talk lately.about the whole repository

Dec 2025: 3 mentionsJan 2026: 4 mentionsFeb 2026: 2 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 1 mentionSep 2026: 7 mentionsOct 2026: 3 mentionsNov 2026: 2 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the anthropics/claude-quickstarts repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about anthropics/claude-quickstarts

The biggest 5 of 23 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 23

Talked about on GitHub and Bluesky (23 times).

On GitHub · 22

17 more on GitHub

The file

Files
CLAUDE.md

Linear × Claude Managed Agents bridge

Stateless webhook bridge: Linear AgentSessionEvent → Managed Agents session (with routing metadata) → session.status_idled webhook → createAgentActivity reply.

When the user asks to set this up, get it working, or debug it

  1. Invoke /claude-api first. That skill loads the full Managed Agents API reference (agents, sessions, environments, events, webhooks, outcomes, multiagent, vaults, memory stores). Use it as the source of truth for any SDK call you write or edit. Don't guess field names.
  2. Read ./skill.md and walk the user through it step by step. It has the ordered checklist, every gotcha (workspace-scoped webhooks, actor=app OAuth, the 10-second ack rule, retrieve-then-filter, the open install endpoint), and the debugging table.
  3. After the base bridge works, offer extensions. Ask the user which (if any) they want, then edit agents/linear-assistant.md and run a bare ant apply --yes, which publishes the edit as a new agent version, and/or edit src/agent.ts for the session side. A new resource is one more file (memory_stores/<name>.yaml, vaults/<name>.yaml, another agents/<name>.md) that ant apply --yes agents environments memory_stores vaults (name whichever directories exist) creates and records in claude-lock.json; read its ID in src/resources.ts the way the agent's is read.

    • GitHub repo: mount a repo into the session container (resources: [{type: "github_repository", ...}] on sessions.create)
    • MCP tools: e.g. Linear or GitHub MCP so the agent can act, not only reply (mcp_servers + mcp_toolset in agents/linear-assistant.md, a vaults/<name>.yaml for the credential, which ant apply manages from ant 1.34, then vault_ids on the session)
    • Outcomes: rubric-graded iterate loop (user.define_outcome event instead of user.message)
    • Multiagent: coordinator + subagent roster (multiagent: {type: coordinator, agents: [./<other>.md]} in agents/linear-assistant.md; ant apply resolves the path and pins the version)
    • Memory store: cross-session persistence (add memory_stores/<name>.yaml, apply it, then resources: [{type: "memory_store", ...}] on sessions.create with the store's ID from claude-lock.json)
    • Custom tools: host-side execution via agent.custom_tool_use / user.custom_tool_result

    Pull exact shapes from the /claude-api skill's shared/managed-agents-*.md docs.

Run the server with bun run dev. Agent provisioning is ant apply --yes agents environments from this directory (ant 1.30 or later; name the directories rather than ., and pass --yes because you have no terminal for its confirmation prompt, or --dry-run to show the plan first): it creates the agent and environment from agents/linear-assistant.md and environments/linear-assistant.yaml, records their IDs in claude-lock.json, which src/resources.ts reads, and on re-runs pushes file edits onto the same resources. It needs ant auth login or an exported ANTHROPIC_API_KEY; it does not read .env. If it prints refusing to apply, a resource was changed or archived in the Console: show the user the reason before reaching for --force.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.