query-letter

query-letter is a skill for Claude Code, Codex from Ckokoski/AuthorAgent. It costs 13 tokens per session (399 once invoked), scanned A, original, MIT.

A writing helper for preparing query letters, which authors send to literary agents to ask them to consider a book. It also keeps a record of submissions and replies.

In plain words
What is it for?
Use it to draft the hook, story summary, book details, author biography, and closing of a query letter. Use its tracker to record agent names, dates, statuses, responses, and notes.
Why use it?
It gives authors a clear structure for presenting a book and avoids losing track of which agents have been contacted.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to draft the hook, story summary, book details, author biography, and closing of a query letter. Use its tracker to record agent names, dates, statuses, responses, and notes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ckokoski/authoragent/query-letter
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Ckokoski/AuthorAgent --skill query-letter
Clone the repo
git clone --depth 1 https://github.com/Ckokoski/AuthorAgent

Made for: Claude Code, Codex.

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 query-letter

README.md
[![agentmods](https://agentmods.dev/badge/skills/ckokoski/authoragent/query-letter/github.svg)](https://agentmods.dev/skills/ckokoski/authoragent/query-letter)
Your own site
<a href="https://agentmods.dev/skills/ckokoski/authoragent/query-letter"><img src="https://agentmods.dev/badge/skills/ckokoski/authoragent/query-letter/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 query-letter

Your own site · 80×15
<a href="https://agentmods.dev/skills/ckokoski/authoragent/query-letter"><img src="https://agentmods.dev/badge/skills/ckokoski/authoragent/query-letter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 399 The whole file, excluding the scripts and references it only reads on demand.
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.00013 $0.00399
Opus 5.5 $0.00005 $0.00160
Sonnet 5.5 $0.00003 $0.00080
Haiku 4.5 $0.00001 $0.00040

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

Security

Grade A, and why

query-letter 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 3mo 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.

skills/_archived/author/query-letter/SKILL.md · 54 lines

What it actually says

Query Letter Skill

Help authors write query letters that get requests from literary agents.

Query Letter Structure (250-400 words total)

1. Hook (1-2 sentences)

Your strongest logline. Make the agent NEED to know more.

2. Story Summary (150-200 words)

  • Introduce protagonist with a defining trait
  • What's their normal world?
  • What disrupts it? (inciting incident)
  • What must they do? (goal)
  • What stands in their way? (conflict)
  • What's at stake? (consequences of failure)
  • END before the climax — leave them wanting more

3. Metadata (1-2 sentences)

"[TITLE] is a [genre] complete at [word count], with series potential / standalone." Add comp titles: "It will appeal to fans of [COMP 1] meets [COMP 2]."

4. Bio (2-3 sentences)

Relevant credentials only. Writing awards, relevant expertise, platform. If no credentials: skip or keep to one sentence.

5. Closing

"Thank you for your time and consideration. Per your submission guidelines, I've included [pages/chapters]. The full manuscript is available upon request."

Submission Tracker

Track: Agent name, agency, date sent, status, response, notes. Save to project's submissions/tracker.md

Personalization

  • Reference a specific book the agent represented
  • Mention meeting them at a conference
  • Note why your book fits their wishlist
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. 3mo ago First seen · 54 lines · 13 tokens per session scan A 8e7c4c3f0abb

Subscribe to this mod's changes

query-letter is a skill published in the GitHub repository Ckokoski/AuthorAgent (124 stars, last pushed 4mo ago), licensed MIT. It adds 13 tokens to every session and 399 once invoked, about $0.0001 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

query-letter compared with skills from other repositories

query-letter next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
query-letterCkokoski/AuthorAgentSkill1244mo agoMITA13Claude Code, Codex
awesome-chatgpttaishi-i/awesome-ChatGPT-repositoriesSkill3.4kyesterdayCC0-1.0A79Claude Code
awesome-chatgpt-searchtaishi-i/awesome-ChatGPT-repositoriesSkill3.4kyesterdayCC0-1.0B63Claude Code, Codex
api-to-examplesurfmind-space/awesome-surfmindSkill918d agoMITA75Claude Code, Codex
code-translatorsurfmind-space/awesome-surfmindSkill918d agoMITA65Claude Code, Codex
dev-toolkitRbBtSn0w/awesome-copilot-mcpSkill4yesterdayMITA17Claude Code, Codex
cover-letter-buildersurfmind-space/awesome-surfmindSkill918d agoMITA58Claude Code, Codex