end-work

end-work is a command for Claude Code from bybren-llc/rendertrust. It costs 6 tokens per session (749 once invoked), scanned A, a copy of end-work, Apache-2.0.

A work-session closing checklist for checking Git status, committing changes, updating documentation, and updating a Linear ticket. Linear is a tool for tracking development tasks.

In plain words
What is it for?
Use it before ending a coding session or switching tasks. It helps prepare work for review and leave a clear stopping point for later.
Why use it?
It reduces the chance of leaving changes uncommitted, documentation outdated, or task status unclear when stopping work. It also records whether the work is complete, ongoing, or blocked.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

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 commands/bybren-llc/rendertrust/end-work
Clone the repo
git clone --depth 1 https://github.com/bybren-llc/rendertrust

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 end-work

README.md
[![agentmods](https://agentmods.dev/badge/commands/bybren-llc/rendertrust/end-work.svg)](https://agentmods.dev/commands/bybren-llc/rendertrust/end-work)
Your own site
<a href="https://agentmods.dev/commands/bybren-llc/rendertrust/end-work"><img src="https://agentmods.dev/badge/commands/bybren-llc/rendertrust/end-work.svg" alt="Measured on agentmods" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 749 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 95% copy Near-identical to another mod 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.00006 $0.00749
Opus 5 $0.00003 $0.00375
Sonnet 5 $0.00001 $0.00150
Haiku 4.5 $0.00001 $0.00075

Measured today against content hash 73ad8d64923d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

end-work 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 today.

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.

Origin

This is a copy

95% identical to end-work — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/end-work.md · 166 lines

How it starts

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

You are completing a work session. Execute final checklist before context switch or session end.

Completion Checklist

1. Work Status

Verify current state:

git status
git log origin/dev..HEAD --oneline

Status options:

  • Work Complete: Ready for PR
  • Work In Progress: Safe stopping point, commit and document
  • Blocked: Document blockers

2. Commit All Work

If uncommitted changes:

git add .
git commit -m "type(scope): description [REN-XXX]"

Verify all work committed:

git status  # Should show clean working tree

3. Documentation Status

Quick check:

  • Inline comments for complex logic?
  • README updated if new feature?
  • CLAUDE.md/CONTRIBUTING.md updated if workflow changed?
  • Linear ticket status current?

4. Update Linear Ticket

Note: Tickets referenced in commit messages (e.g., [REN-XXX]) auto-sync to Done when the PR merges via the GitHub-Linear integration. Manually close any child stories not referenced in commits.

Based on work status:

If Complete:

  • Update ticket status to "Ready for Review" or "In Progress"
  • Add comment summarizing work done
  • Link to PR if created

If In Progress:

  • Update ticket with progress notes
  • Document any blockers or questions
  • Set status appropriately

If Blocked:

  • Document blocker clearly
  • Add comments to ticket
  • Tag appropriate people

Use Linear MCP:

mcp__claude_ai_Linear__update_issue
mcp__claude_ai_Linear__create_comment

5. Context Preservation

If stopping mid-work, document:

  • What was completed
  • What's next
  • Any decisions made
  • Any blockers encountered
  • Questions to discuss

Create context document if needed:

## Session Context - [Date]

### Completed

- Item 1
- Item 2

### Next Steps

1. Task 1
2. Task 2

### Decisions

- Decision 1: Rationale

### Blockers

- Blocker 1: Details

### Questions

- Question 1

6. Branch Status

Decide next action:

If Ready for PR:

Read the full file on GitHub · 166 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. today First seen · 166 lines · 6 tokens per session scan A 73ad8d64923d

Subscribe to this mod's changes

end-work is a command published in the GitHub repository bybren-llc/rendertrust (7 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 6 tokens to every session and 749 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to end-work, differing in 8 lines, and is treated as a copy.