What is trajectory?
trajectory is a Claude Code mod by him0 that a Hermes-style trajectory pane: every system, user, context, assistant and tool row of the session on one timeline, with a minimap and search. It is listed under Context & memory and has 2 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | him0 |
| Repository | him0/claude-trajectory |
| Popularity | 2 GitHub stars |
| Category | Context & memory |
| Security | Low risk (84/100) |
| Rank | #2,370 of 9,397 Claude Code mods; #223 in Context & memory |
| License | MIT |
| Last commit | 2026-10-27 |
| Hooks | 13 events |
| Sees | every tool call, the system prompt |
| Draws on | Pane |
Is trajectory safe to install?
trajectory scores 84/100 on the MCPMods security check: Low risk. Things to review: writes files or config. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes files or config | Review |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.command.register | |
$.config.set | changes config |
$.fs.read | reads files |
$.prompt.compose | |
$.session.messages | reads the transcript |
$.session.model | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.ui.copy | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install trajectory?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/him0/claude-trajectory claude plugin validate ./claude-trajectory/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add him0/claude-trajectory && claude plugin install trajectory@claude-trajectory
Or ask Claude to set it up
Paste this into Claude Code and it installs trajectory for you:
Install the "trajectory" Claude Code mod from https://github.com/him0/claude-trajectory. Run claude plugin validate on it first and show me what it can access before you enable it.