update-install-instructions
Skill12 starsChanged 7 days agoMITView on GitHub
Once code in folder `hook/` is updated
- Reads credentials
In this repository28 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adlc-scriptingSkill
- architect-assistantSkill
- big-prod-e2e-testSkill
- ceSkill
- changelogSkill
- check-fix-buildSkill
- db-state-updateSkill
- git-branchingSkill
- github-issuesSkill
- hook-debuggingSkill
- migrations-data-integritySkill
- morning-checkSkill
- nodejs-scriptSkill
- pocSkill
- post-impl-check-client-component-sizeSkill
- post-impl-check-cost-calc-no-autoSkill
- post-impl-check-indexesSkill
- post-impl-check-kb-actualSkill
- post-impl-check-migrationsSkill
- post-impl-check-performance-no-autoSkill
- post-impl-check-security-no-autoSkill
- security-checkSkill
- server-e2e-testsSkill
- session-kb-suggestSkill
- sql-reviewSkill
- ui-componentsSkill
- use-playwrightSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 6
Read all hook implementation files and rewrites INSTALL_HOOK.md so that installation steps, configuration options, and output format stay …
- Very specific: line 11
Read all files under .claude/telemetry_tool/:
- Distinctive: line 55
After editing, verify the file reads correctly end-to-end and that every code block matches the implementation.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Read all hook implementation files and rewrites INSTALL_HOOK.md so that installation steps, configuration options, and output format stay in sync with the code.
Step 1 — read the implementation
Read all files under .claude/telemetry_tool/:
telemetry-hook.jsenv-context.jsgit-context.jswrite-telemetry.js
Also read .claude/settings.json to see the current hook wiring.
Step 2 — derive ground truth from the code
For each area below, check whether INSTALL_HOOK.md is still accurate. Use only what you find in the code — do not
invent or assume.
Hook wiring (settings.json snippets)
- Which Claude Code hook events are used (
UserPromptSubmit,PostToolUse,Stop,SessionStart, …)? The hook is monitoring/logging only — there is noPreToolUseguardrail wiring. - Are the
commandstrings andstatusMessagevalues correct?
File list
- Which
.jsfiles must be copied into.claude/telemetry_tool/?
Configuration (.env variables)
- What variables does
env-context.js(or any other file) read from the.env? - What are the defaults? What values are accepted?
- Any variables that were removed or renamed?
Recorded events
- What
eventvalues are written to telemetry (search forevent:assignments in the source)? - What fields does each event carry?
Output format
- What is the file-naming scheme (
<session_id>.jsonl, etc.)? - Is the example JSON still representative?
Step 3 — update INSTALL_HOOK.md
Edit only the sections that are out of date. Keep sections that are already correct unchanged. Preserve the existing document structure (headings, order, style).
After editing, verify the file reads correctly end-to-end and that every code block matches the implementation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

