reply-debt
Find the mail still waiting on a reply by dropping threads already answered, bots and newsletters, keeping messages that ask something, and ranking them by how long the person has waited. Use when asked what needs a reply, who is waiting, what fell through in the inbox, or to produce a daily follow-up brief.
- License 许可
- Apache-2.0
- 所属仓库
- getedgehq/skills
- 最近更新
- 2026-11-12
- Stars
- ★ 5
- Forks
- 0
01 前言 Front Matter
- name
- reply-debt
- description
- Find the mail still waiting on a reply by dropping threads already answered, bots and newsletters, keeping messages that ask something, and ranking them by how long the person has waited. Use when asked what needs a reply, who is waiting, what fell through in the inbox, or to produce a daily follow-up brief.
02 资源文件 8
- 参考文档agents/openai.yaml212 B
- 参考文档DERIVATION.json4.7 KB
- 参考文档examples/rules.example.json1.1 KB
- 许可证LICENSE10.5 KB
- 参考文档references/backends.md3.1 KB
- 脚本scripts/reply_debt.py20.5 KB
- 参考文档tests/fixtures/inbox.json4.0 KB
- 脚本tests/test_reply_debt.py11.5 KB
03 SKILL.md 正文
Reply Debt
What it does
Reads recent inbound mail, removes everything that is not a person waiting on you, and ranks what is left by wait time. The output is a short list: who, about what, how long they have waited.
No language model reads the mail. Every include and exclude is a substring rule in the config, so a wrong answer is a rule you can find and change.
Prerequisites — read this before you start
This skill is not credential-free. It needs access to a mailbox:
| backend | needs | notes |
|---|---|---|
gmail-api |
GMAIL_ACCESS_TOKEN in the environment |
OAuth access token, gmail.readonly scope. Add gmail.send only if the user wants --send. |
composio |
COMPOSIO_API_KEY in the environment, plus --connection-id |
For a Composio-managed Gmail connection. The connection id is an identifier, not a secret. |
fixture |
nothing | A local JSON file of messages. No network. |
Read the token from the environment only. Never pass it as a command-line argument, never write it into a config file, never echo it.
If no mailbox is connected, use --backend fixture and say plainly that the
mailbox part is unverified. Do not describe a fixture run as a run against real
mail.
How the filtering works
- Fetch
in:inbox newer_than:{days}d from:meand remember those thread ids. Anything you already replied to in the window is not debt. - Fetch
in:inbox newer_than:{days}d -from:me. - Drop a message when the sender matches
skip_sender(no-reply, notifications, newsletters, transactional addresses), when the subject matchesskip_subject(receipts, invitations, promotions), or when neither subject nor snippet contains anything inexpects_reply. - Rank:
wait_points_per_dayper day waited, capped atwait_days_cap, plusimportant_pointsfor eachimportant_hintsmatch. Ties break oldest first.
important_hints only reorders. It never filters anything in or out, so a term
missing from that list cannot make mail disappear.
Tuning the rules
Every list lives in --config JSON and replaces the default wholesale. Start from
examples/rules.example.json.
The failure mode to watch for is expects_reply being too narrow, because that
silently hides real mail. A short note that just says "thanks, go ahead" contains
none of the default terms and will be dropped. Run with --backend fixture against
a saved sample of your own mail and check the drop counts before trusting it.
The opposite failure — skip_sender too broad — is the reason support@, team@
and hello@ are separate entries you can remove: at a small company a real person
does write from hello@.
Running it
python scripts/reply_debt.py --backend fixture --fixture tests/fixtures/inbox.json
python scripts/reply_debt.py --backend gmail-api --days 10 --top 10
python scripts/reply_debt.py --backend gmail-api --notify-email you@yourdomain --send
The brief is always written to --out. Sending is off unless you pass --send.
There is no default recipient: with --send and no --notify-email, the script
falls back to the address it saw on your own sent mail, and refuses to send if it
cannot find one. It will never mail an address that shipped with the skill.
Exit codes: 0 success, 1 the mail backend failed, 2 bad config.
A backend failure exits 1 and is never reported as an empty inbox. "Nothing is
waiting on you" only ever means the fetch succeeded and nothing matched.
Boundaries
- Read-only against the mailbox, except the one optional brief you send yourself.
- It reads subjects, senders and snippets. It never reads full message bodies and never sends anything to a third-party model.
- It does not reply to anyone, never drafts a reply, and never contacts the sender.
- Do not use it to decide that a thread does not need an answer. It ranks what is probably waiting; it does not know what matters.
04 同仓库更多 Skills
zero-downtime-cloud-move
Runbook for moving a live app from one cloud to another (Google Cloud to AWS, AWS to Google Cloud, a PaaS to your own account, or one storage provider to another) without downtime. The agent inventories what is really running, builds the new stack next to the old one, keeps a one-line rollback for every phase, proves the new stack with real workloads before any traffic moves, cuts over with a checklist, watches a fixed window after the switch, copies data with an idempotent job whose second pass must report 0 left, and deletes the old cloud last. Use when someone asks to migrate, move or replatform a production app, switch cloud providers, move a backend, database files or object storage, plan a DNS cutover, or decommission an old cloud account.
zayats-ceo-branding
Build an evidence-based CEO positioning paper, Personal Branding Roadmap, and editorial workflow using Marina Zayats's public method. Use for executive branding, LinkedIn ghostwriting briefs, profile strategy, and recurring CEO-approved content planning.
yc-app-roast
YC App Roast: roast a YC or a16z Speedrun application. Use when a founder wants their YC or Speedrun answers scored, asks "what would a YC partner think", wants the weak answers found or rewritten, or wants their draft checked before they submit. Scores every answer 0-10 against public advice from YC and Speedrun partners, names the top issue with the exact words that cost points, and writes a rewrite from the founder's own facts. Works for YC and a16z Speedrun. Not affiliated with Y Combinator or a16z.
yc-app-review
YC App Review: get a YC or a16z Speedrun application reviewed by people you trust. Use when a founder wants friends, mentors or alumni to review their YC or Speedrun application, or asks to share their draft for feedback. Builds a shareable review page (one HTML file, application-portal look) where reviewers leave notes per question and press "Send my notes" to send them back as text, then parses the notes into proposed rewrites. Optional tracked private links per reviewer. Works for YC and a16z Speedrun. Not affiliated with Y Combinator or a16z.
x-growth-playbook
X Growth Playbook. Analyse a person's own X (Twitter) posts and tell them what to post next, with the numbers behind every claim. Compares quote posts vs originals, links vs no links, short vs long, time of day in their timezone, media vs text and the topics they name, reports medians with n, then writes a 10-step plan and the next 7 posts in their voice. Use when the user says "analyse my X posts", "what works on my Twitter", "how do I grow on X", "what should I post next on X", "audit my X account", or shares an X data archive, X API export or a list of their posts. Runs on the user's computer.
workplan
Create, update, or close work plans for multi-step tasks. Use when starting refactors, bug lists, feature work, migrations, or any task with 2+ steps. Also use after auto-compaction to re-orient. Triggers: "workplan", "work plan", "create a plan", "what's the plan", "where was I", or when Claude detects a multi-step task that needs tracking.