- Home
- Skills
- Writing & Content
- Chapter Budget — Target Length to Words per Chapter
Chapter Budget — Target Length to Words per Chapter
It makes the arithmetic explicit and never writes manuscript text.
$5
Works with the AI Agents you already use
Chapter Budget — Target Length to Words per Chapter
Example session with this skill installed
Plan my length with the Chapter Budget skill: 10,000 words, 3 chapters, chapter 1 is done at 2,800 words. Run python3 scripts/chapter_budget.py examples/budget.json and show me the result.
- Read your context and instructions
- Compiled the chapter budget
| Chapter | Planned | Actual | Difference | Status |
|---|---|---|---|---|
| 1 | 3,333 words | 2,800 words | -533 words | below plan |
| 2 | 3,333 words | — | — | remaining |
| 3 | 3,334 words | — | — | remaining |
Target: 10,000 words
Planned allocation: 3,333 × 3 + 1 final-chapter remainder = 10,000 words.
Completed total: 2,800 = 2,800 words.
Remaining target: max(0, 10,000 − 2,800) = 7,200 words.
Suggested pace: ceil(7,200 ÷ 2) = 3,600 words per remaining chapter.
Connects securely to your tools. The creator never sees your data.
About this skill
A local calculator for a writer's length plan. It makes the arithmetic explicit and never writes manuscript text.
What it handles
- Input: a target, a chapter count, and optional completed chapter counts in order, as UTF-8 JSON.
- Even allocation: the target is divided by the chapter count, and any integer remainder goes to the final chapter.
- Completed chapters: shows the actual total, the remaining target, and each finished chapter's signed difference from plan (actual minus planned), marked above, below, or on plan.
- Suggested pace: the ceiling of the remaining target divided by the number of unfinished chapters.
- Units: words, characters, or 字 (labels only; characters and 字 use the same count model).
- Output: Markdown table with formulas (default), JSON, or CSV; --output writes a new UTF-8 file.
How to use
- Put target, chapters, completed, and unit in a JSON file (example: {"target": 10000, "chapters": 3, "completed": [2800], "unit": "words"}).
- Run python3 scripts/chapter_budget.py input.json (add --format csv for CSV).
- Read the table and formulas; correct the input if you see an error line.
Python 3.9+, standard library only. Decimal, negative, boolean, zero-chapter, and excess completed values are rejected with one error line (return code 2). If all chapters are complete while the target is unmet, the output says to add a chapter or revise. Limits: 1,000,000 input bytes, 500 chapters, 100,000,000 per count.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Writing & Content.
It calculates counts only: it does not judge manuscript quality or write prose. Decimal, negative, boolean, zero-chapter, and excess completed values are rejected; it does not infer missing chapter counts. Limits: 1,000,000 input bytes, 500 chapters, 100,000,000 per count.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 9 days ago
- Software
Python 3.9+