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.

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.

agentmods
npx agentmods add skills/ckokoski/authoragent/query-letter
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00006 $0.00199
Sonnet 5 $0.00003 $0.00080
Haiku 4.5 $0.00001 $0.00040

Measured 6d ago against content hash 8e7c4c3f0abb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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. 6d 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 (103 stars, last pushed 1mo ago), licensed MIT. It adds 13 tokens to every session and 399 once invoked, about $0.0001 per session on Opus 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

Other skills, from other repositories

search

Search 2500+ curated ChatGPT and LLM open-source repositories. Use when the user asks to find tools, libraries, or repos related to ChatGPT, LLMs, RAG, agents, langchain, NLP, AI development, or any open-source AI tooling.

taishi-i/awesome-ChatGPT-repositories · 57 tokens

app-search

主流APP搜索。当用户想要在拼多多、美团、高德地图、抖音、快手、小红书、哔哩哔哩、知乎、百度、OPPO音乐、OPPO软件商店等APP中搜索时激活。覆盖电商购物、生活服务、短视频内容、知识搜索、音乐搜索、应用商店搜索等场景。.

OPPO-Mente-Lab/X-OmniClaw · 87 tokens

clipboard-to-shortcut

将剪切板中的 App 跳转链接制作成一个可复用的快捷指令 Skill,下次用户说出 Skill 名称即可一键直达对应 App 页面。 当用户说"把剪切板的链接做成skill"、"帮我保存这个链接为快捷方式"、"用剪切板内容创建一个skill XX"、"把这个链接制作成skill"、"帮我把复制的链接做成一键跳转"等意图时激活。 支持淘宝、拼多多、抖音、快手、知乎、小红书、美团、哔哩哔哩、高德、QQ音乐、支付宝、百度等主流 App 的分享链接。.

OPPO-Mente-Lab/X-OmniClaw · 157 tokens

capcut-theme-video

CapCut (剪映) one-tap video creation on Android. Always clear Alatest first (copyimagestoalbum clear-only), then retrieve by time (listgalleryimages) or content (image-memories). Copy to Alatest (clearalbumfirst), CapCut 照片视频 → Alatest → 全部, multitap, N=K.

OPPO-Mente-Lab/X-OmniClaw · 80 tokens

taobao-search

淘宝商品搜索。当用户想要搜索商品、找某品牌产品、比价、查看新款等电商购物场景时激活。.

OPPO-Mente-Lab/X-OmniClaw · 35 tokens

scheduled-automation

Schedule app automation tasks such as opening an app and performing actions at a specific time.

OPPO-Mente-Lab/X-OmniClaw · 21 tokens