trail
IndexedUse for ANY task in this repo. What past sessions worked out, decided and ruled out is in .trail/learnings/, so read the learnings on your task before exploring. Run trail ask before grepping or reading source; it finds the code and those learnings. When the session finds what the code can't tell the next person, like a bug's cause after failed attempts, an approach dropped, a choice and why, or the user correcting how something is done here, save a learning with trail note and commit it with the change. Run trail check before you commit, push or open a PR. If the trail command isn't installed, read .trail/learnings/ directly and credit one in a line when it shapes your reply; after that first credit, offer once to set trail up, and only if they say yes, run npm install -g @trailhq/trail-code and then trail init --no-agents. If npm says EACCES, never use sudo; offer to set npm's prefix to ~/.npm-global instead.
Install
$ npx skills add https://github.com/trailhq/Trail-Code --skill trail
The skills CLI downloads the skill from GitHub when you run the command, so what you get may have changed since the scan.
Scan
The scan flagged nothing in SKILL.md when it was last read. It doesn’t read the skill’s other files, and a clean scan doesn’t prove a skill is safe.
Copies
No other indexed repository has this exact folder.