Hk Local Logs
deepklarity/harness-kit
Inspect and debug errors via logs across the harness-kit monorepo.
Run before writing or changing code for any feature, bug fix or refactor that touches data, jobs, money, outside services or user-facing behaviour.
$ npx skills add joetawil7/first-pass --skill premortem -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install joetawil7/first-pass premortem --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/joetawil7/first-pass.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/premortem .claude/skills/premortem && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "premortem" agent skill from https://github.com/joetawil7/first-pass/tree/main/skills/premortem into .claude/skills/premortem/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "premortem", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/joetawil7/first-pass/tree/main/skills/premortemType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add joetawil7/first-pass --skill premortem -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install joetawil7/first-pass premortem --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/joetawil7/first-pass.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/premortem .agents/skills/premortem && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "premortem" agent skill from https://github.com/joetawil7/first-pass/tree/main/skills/premortem into .agents/skills/premortem/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "premortem", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add joetawil7/first-pass --skill premortem -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install joetawil7/first-pass premortem --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/joetawil7/first-pass.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/premortem .cursor/skills/premortem && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "premortem" agent skill from https://github.com/joetawil7/first-pass/tree/main/skills/premortem into .cursor/skills/premortem/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "premortem", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/joetawil7/first-pass.git --path skills/premortem--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add joetawil7/first-pass --skill premortem -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install joetawil7/first-pass premortem --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/joetawil7/first-pass.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/premortem .gemini/skills/premortem && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "premortem" agent skill from https://github.com/joetawil7/first-pass/tree/main/skills/premortem into .gemini/skills/premortem/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "premortem", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install joetawil7/first-pass premortemInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add joetawil7/first-pass --skill premortem -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/joetawil7/first-pass.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/premortem .github/skills/premortem && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "premortem" agent skill from https://github.com/joetawil7/first-pass/tree/main/skills/premortem into .github/skills/premortem/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "premortem", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add joetawil7/first-pass --skill premortem -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install joetawil7/first-pass premortem --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/joetawil7/first-pass.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/premortem .opencode/skills/premortem && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "premortem" agent skill from https://github.com/joetawil7/first-pass/tree/main/skills/premortem into .opencode/skills/premortem/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "premortem", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
premortemRun before writing or changing code for any feature, bug fix or refactor that touches data, jobs, money, outside services or user-facing behaviour.
Premortem is an agent skill from joetawil7/first-pass. Run before writing or changing code for any feature, bug fix or refactor that touches data, jobs, money, outside services or user-facing behaviour. Finds where the change will break before it is built, by walking ten named failure classes (twice, halfway, outside call, failure-is-not-empty, neighbors, endings, money, hostile user, words, scale and time) against the code, and writes the answers into the plan. Use when planning a change, when asked to "think it through", "cover the gaps", "make sure it's bug free"…
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Background jobs and Debugging. The repository describes itself as: Rules and checks that make Claude Code look around a change, not just at the lines it writes: ten questions before code, a reviewer that didn't write it, proof before done, bugs… The licence is MIT.
11 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 2d3e839. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Premortem loads about 2.5k tokens when it runs. Until then it costs about 153 tokens; SKILL.md has 1,458 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from joetawil7/first-pass at commit 2d3e839, republished under its MIT licence (© joetawil7). 1,458 words, ~2,507 tokens.
.claude/skills/premortem/SKILL.md (or your agent's skills folder).Assume the change shipped and broke. Find out where, before writing it.
"Be careful" does nothing: it names no place to look. These ten questions name places. Each answer is one of three things, and nothing else counts:
"N/A" is allowed only with the reason: "Twice: N/A, the handler is a pure read".
First the task's scope (the rules' "Stay in the task's scope"). A change with no logic in it
(a comment, a doc, a spelling fix: no behaviour changes and no label's meaning changes; when
unsure, it is not one) writes one line, Scope: <the file or text>, no behaviour change, and goes on. Anything else draws it from the code, not from the prompt's
words alone:
Scope: <goal>. Inside: <features, flows and modules, by name>. Endings: <the steps of each step-6 ending (account deletion included) that handle what it creates or uses, or "none, because ___">. Outside: <the nearest features left out, by name, each with why the goal still holds without it>. Naming the endings and the nearest ones left
out makes each border a decision, not an accident: one whose "why" fails goes inside.The map and the searches below stay inside it. Inside it by definition: the neighbors in step 5, the steps of the ending paths in step 6 that handle what the change creates or uses, the same job done in two places, the sentences in step 9, and any problem the change caused or made worse.
List every field or column, status value, option key, queue or topic, cron, event, endpoint, DTO property and outside service the change reads or writes. This list drives questions 1 to 10.
Name the repo each item lives in. In a main folder with many repos, the workspace section of
the root AGENTS.md or CLAUDE.md says which repos use this one (a web app and a mobile app
calling an API, a website quoting the app's prices): their readers are neighbors too. Read
the repo's own section (its first-pass:project block) for extra cases and for the same job
done in two places.
What happens when this runs two times: double-click, two tabs, the client retrying, the job queue retrying after a timeout, two instances of the worker, a webhook delivered again?
UPDATE ... WHERE status = 'queued', 0 rows means stop), a
lock held across the whole check-and-write.Promise.all, parallel requests, a job run twice)
and assert one effect.Walk the code write by write. If the process dies right after each one (a deploy, a crash, out of memory), what state is left, and what does the retry do with it?
For every call to another service (API, vendor, email, payment, storage, model):
catch that swallows: does the error reach monitoring at a level someone will see?For every item on the map from step 0, search the whole repo (backend, frontend, workers, scripts, migrations, tests, docs) and every repo that uses it for other readers and writers:
grep -rn "<column_or_field>" --include=*.<ext> <repo> <each repo that uses it>
grep -rn "'<status_value>'" <repo>
grep -rn "<queue_or_event_name>" <repo> <each repo that uses it>List each neighbor in the plan and say what it needs: nothing (why), a change, or a test. Look hardest for the same job done in two places: two paths that delete, two clients for one vendor, a webhook and a reconcile job, a single-item path and a bulk path, an API and an admin script. The change usually updates one of them.
What does this do, and what happens to what it created, on: cancel, delete (the record and the whole account), disconnect, reconnect, expire, downgrade, plan lapsed or cancelled, trial end, replace? Is anything left running, charged, stored or promised?
For every paid call (a vendor, a model, a third-party API) and every credit, quota or charge:
Search every place user-facing words live (UI strings, emails and notifications, help center, docs, marketing, pricing and legal pages, API error messages) for sentences about what this changes. Each is still true, or changes with the code. List them.
If the repo has INVARIANTS.md, name every invariant the change touches and how it stays
true. If the change creates a new rule the whole system must keep, add it there.
Put this in the plan, before the first edit:
Pre-mortem: <change>
Scope: <goal>. Inside: <features, flows and modules>. Endings: <the step-6 ending steps that handle what it creates or uses, or "none, because ___">. Outside: <nearest left out, each with why the goal holds without it>. (Or "lifted (hulk)".)
Touches: <the map from step 0>
1 Twice: <file:line | test | Not handled, because ...>
2 Halfway: ...
3 Outside call: ...
4 Failure is not empty: ...
5 Neighbors: <each neighbor: what it needs>
6 Endings: ...
7 Money: ...
8 Hostile user: ...
9 Words: <each sentence: file, still true or changing>
10 Scale and time: ...
Invariants: <each touched, and how it holds>
Tests to write: <the list, each failing on the old code>Every "Not handled, because" is asked of the owner, to accept or reject, before building what it shapes: not buried in the plan, and not held for the end report. Work that does not depend on it can go first.
© joetawil7, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/premortem of joetawil7/first-pass.
Open the folder on GitHubat commit 2d3e839
Premortem next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Premortem this skilljoetawil7/first-pass | 92 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Hk Local Logsdeepklarity/harness-kit | 100 | — | ~2.1k | Automated safety check: Notes | MIT | |
| Diagnose Backend BugQoderAI/better-harness | 2.4k | — | ~1.2k | Automated safety check: Pass | MIT | |
| Skillifygarrytan/gbrain | 31k | — | ~7.5k | Automated safety check: Pass | MIT | |
| Temporal Developertemporalio/skill-temporal-developer | 230 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Production Log Inspectionbikeindex/bike_index | 308 | — | ~3.6k | Automated safety check: Pass | AGPL-3.0 |
deepklarity/harness-kit
Inspect and debug errors via logs across the harness-kit monorepo.
QoderAI/better-harness
Diagnose a bounded backend or multi-service failure from GitHub Issues, Jira, Aone, user-provided exports, logs, traces, responses, stack traces, or job records.
garrytan/gbrain
The meta skill. An agent skill from garrytan/gbrain.
temporalio/skill-temporal-developer
Develop, debug, and manage Temporal applications across Python, TypeScript, Go, Java, .NET, Ruby, and Rust.
bikeindex/bike_index
Inspect the Bike Index production Rails logs downloaded by binxlogs and streamed with binxcat web / binxcat worker — JSON-per-request (Lograge) on web plus free-form background-job lines on worker…
CherryHQ/cherry-studio-app
A skill your agent uses when implementing or debugging ANY network request, API call, or data fetching.
joetawil7/first-pass
Bug-fix routine that fixes the whole class of bug, not just the reported instance.
joetawil7/first-pass
Learns the words a user habitually writes to their coding agent that make its answers worse ("be 100% sure", "don't assume", "full review", "are you sure?", "all fine, right?"), from what they…
joetawil7/first-pass
Sets up, checks or changes the optional Jev judge, the TypeSafe decision model that ship-check asks about review findings (is this real harm, is a small one worth fixing now, what proof does a small…
joetawil7/first-pass
Rewrites the prompt typed after the command before any work starts, then works from the rewrite.
joetawil7/first-pass
The definition of done. An agent skill from joetawil7/first-pass.
joetawil7/first-pass
Set up first-pass for a main folder that holds many repos, or for one repo.
Categories
Run before writing or changing code for any feature, bug fix or refactor that touches data, jobs, money, outside services or user-facing behaviour. Premortem is an agent skill from joetawil7/first-pass. Run before writing or changing code for any feature, bug fix or refactor that touches data, jobs, money, outside services or user-facing behaviour.
Premortem fits situations like: planning a change; asked to think it through; make sure its bug free; before any edit to payment.
Run `npx skills add joetawil7/first-pass --skill premortem -a claude-code`. Or copy the skill folder (skills/premortem in joetawil7/first-pass) into .claude/skills/premortem in your project. Claude Code loads it when a task matches its description.
Run `npx skills add joetawil7/first-pass --skill premortem -a codex`. Or copy the skill folder (skills/premortem in joetawil7/first-pass) into .agents/skills/premortem in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add joetawil7/first-pass --skill premortem -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/premortem, .gemini/skills/premortem, .github/skills/premortem and .opencode/skills/premortem in your project.
SKILL.md names no scripts, command-line tools or credentials: Premortem is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Premortem is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Premortem: Hk Local Logs (deepklarity/harness-kit, 100 stars), Diagnose Backend Bug (QoderAI/better-harness, 2.4k stars), Skillify (garrytan/gbrain, 31k stars) and Temporal Developer (temporalio/skill-temporal-developer, 230 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
joetawil7 (a GitHub user) maintains it in joetawil7/first-pass, which has 92 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 8, 2026.
Source: joetawil7/first-pass on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.