autotask-mcp: Instructions file for Claude Code

CLAUDE.md

autotask-mcp CLAUDE.md is an instructions file for Claude Code from WYRE-AI/autotask-mcp. It costs 1,243 tokens per session, scanned A, original, Apache-2.0.

Project instructions and recorded lessons for autotask-mcp, a task-management server using the Task Master command-line tool. They describe known code locations, routing behavior, and TypeScript details.

In plain words
What is it for?
Use them when changing autotask-mcp, especially when adding or checking tools, updating intent routing, or working with its TypeScript result types.
Why use it?
They help an agent avoid implementing tools that already exist and account for known gaps, such as mismatched tool categories or plural entity names.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md.

This is WYRE-AI/autotask-mcp's own configuration. It tells Claude Code how to work on autotask-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything autotask-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to WYRE-AI/autotask-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/WYRE-AI/autotask-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/WYRE-AI/autotask-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for autotask-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/wyre-ai/autotask-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/wyre-ai/autotask-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/wyre-ai/autotask-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/wyre-ai/autotask-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for autotask-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/wyre-ai/autotask-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/wyre-ai/autotask-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,243 This file is loaded in full into every session.
When invoked 1,243 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01243 $0.01243
Opus 5.5 $0.00497 $0.00497
Sonnet 5.5 $0.00249 $0.00249
Haiku 4.5 $0.00124 $0.00124

Measured 1mo ago against content hash aee8d0ed15be, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

autotask-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 38 lines

How it starts

The opening of the file, as written. The whole thing — 38 lines — stays where its author put it; the contents beside it link to each section on GitHub.

autotask-mcp

Task management: Task Master (task-master CLI; config in .taskmaster/). Workflow defaults (commits, changelog, memory) come from the global ~/.claude/CLAUDE.md.

Learnings

Learnings - 2026-10-11

  • Autotask HTTP 429 is two limits. A body that mentions both "thread" and "threshold" is the concurrent-thread gate (rejected before the request is processed) and must not arm rateLimitCooldowns (DEFAULT_RETRY_AFTER_SECONDS = 60). The hourly "API threshold" 429 is the one that arms it. AUTOTASK_MAX_INFLIGHT (default 3) queues inside request(). rawRequest() must pass the relative path into request() — an absolute URL skips the 401 stale-zone retry.

Learnings - 2026-10-07

  • Ticket note attachment bytes are on the parent-scoped child GET /TicketNotes/{id}/Attachments/{id} (Autotask's documented retrieve-attachment call, confirmed live in #315). That is the opposite of the ticket-attachment split, where only GET /TicketAttachments/{id} populates data. ticketNoteID is optional on TicketNoteAttachments, so fail-closed !== ticketNoteId on the top-level row turns a real attachment into null — and buildNotFoundMessage then reports the first *id argument (ticketNoteId) as "not found".

Learnings - 2026-08-10

  • Issue asks can be stale: #237 claimed "no Contracts tools" but search/create/update already existed (added after the issue was filed). Always scope against src/handlers/tool.definitions.ts before implementing "missing" tools.
  • TOOL_CATEGORIES in tool.definitions.ts is hand-maintained and drifts from TOOL_DEFINITIONS — nothing enforces parity (the contract write tools were absent from financial for months). A parity test would prevent this class of drift.
  • The intent router's entity regexes (tool.handler.ts routeIntent) matched only singular nouns (\bcontract\b missed "contracts") until #238 added s?; check the other entity branches if router misses are reported.
  • exactOptionalPropertyTypes is on: optional result-object fields need explicit | undefined in their type when assigned from possibly-undefined sources.

Read the full file on GitHub · 38 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +4 lines · +129 tokens per session aee8d0ed15be
  2. 1mo ago Changed · +4 lines · +142 tokens per session b149ec95f517
  3. 2mo ago Changed · +4 lines · +130 tokens per session 86b8f28bf529
  4. 2mo ago Changed · +11 lines · +568 tokens per session a50cf45879cc
  5. 3mo ago First seen · 15 lines · 274 tokens per session scan A 1d5528376ed6

Subscribe to this mod's changes

autotask-mcp CLAUDE.md is an instructions file published in the GitHub repository WYRE-AI/autotask-mcp (63 stars, last pushed yesterday), licensed Apache-2.0. It adds 1,243 tokens to every session, about $0.0050 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

autotask-mcp CLAUDE.md compared with instructions from other repositories

autotask-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
autotask-mcp CLAUDE.mdWYRE-AI/autotask-mcpInstructions file63yesterdayApache-2.0A1,243Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,951Codex, OpenCode
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file291ktodayMITA4,396Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,303GitHub Copilot