trm-cli
Drive the trimum (trm) runtime — discover capabilities, run tools and workflows, and read the audit trail instead of guessing.
Skill by guzhujushi
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/guzhujushi-trm-cli
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/trm-cli
What's inside
- Skill name
trm-cli- Description
- Drive the trimum (trm) runtime — discover capabilities, run tools and workflows, and read the audit trail instead of guessing.
- License
- MIT
- Instructions
- 85 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# trm CLI
`trm` is the command-line front end of **trimum**, an AI process runtime for this
machine. Every capability it exposes is checked by the Tool Gateway (policy,
agent permissions, security rules, one-shot authorization) and recorded in the
audit log — so prefer `trm` over raw shell commands whenever a command exists.
## Discover before you guess
```bash
trm commands --json # every command, machine-readable, with summaries
trm commands --check # validate the command surface still matches the code
trm tool list --json # registered tools (built-in + ~/.trimum/tools/*)
trm tool info <name> # arguments, risk level, permissions of one tool
trm health --json # is the daemon up, are API keys configured
trm doctor # environment dependencies and config completeness
```
Rules of thumb:
- Prefer `trm commands --json` over reading this file for the exact current surface.
- Prefer `--json` output when you need to parse results; omit it for humans.
## Run work
```bash
trm ask "summarise the failing tests in this repo" # LLM plans and executes
trm ask -i # interactive multi-turn
trm exec "git status --short" # human-sourced command path
trm workflow list # defined workflows
trm workflow run <name> # execute one
trm agent list # registered agents
trm agent spawn <agent_id> # start a sub-agent
```
## Security and authorization
High-risk actions may come back as `confirm` or `denied`:
```bash
trm security status # current policy state
trm security allow-once <agent_id> --cmd "ls -la" # one-shot JIT token
trm security tokens # valid tokens
trm security learning # learned behaviour profile
```
If an action is denied: **do not try to bypass it with a different tool**. Report
the denial to the user, explain what was blocked, and ask whether to authorize it
with `trm security allow-once`.
## Audit trail
```bash
trm log audit --json # structured audit entries
trm log audit --event-type security_blocked
trm log audit --since 1h --risk high
trm log tail -f # live daemon log
```
Use the audit log to prove what ran: it records the tool, the decision
(allow/confirm/deny), the source type (human/AI) and the risk level.
## Memory
```bash
trm memory list --entries # categories and indexed entries
trm memory search "deploy" # full-text search
trm memory set <key> <value> # classify and store a fact
trm memory stats
```
## Working with tools
Tools live at `~/.trimum/tools/<name>/{tool.json5,main.py}`. To inspect or add
one:
```bash
trm tool list
trm tool info shell
```
New tools must declare a `tool.json5` manifest; the loader ignores directories
without one (that is how deprecated tools are disabled).From guzhujushi/trimum, MIT.
More from guzhujushi/trimum
- 0.584score
code-review
guzhujushi
审阅一份改动:先看改动集是否越界,再找回归风险与无关改动,最后给最小复现。
SkillAFreshness: A★ 2Claude Code +9 - 0.584score
troubleshooting
guzhujushi
排障流程:先稳定复现,再二分定位,最后用证据说话,不许靠猜改代码。
SkillAFreshness: A★ 2Claude Code +9 - 0.553score
testing
guzhujushi
测试驱动的改动流程:先写一条会红的测试,再小步改实现,最后跑目标测试与全量回归并对比基线。
SkillAFreshness: A★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Oct 3, 2026 (27 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/guzhujushi/trimum
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from guzhujushi
- 0.584score
code-review
guzhujushi
审阅一份改动:先看改动集是否越界,再找回归风险与无关改动,最后给最小复现。
SkillAFreshness: A★ 2Claude Code +9 - 0.584score
troubleshooting
guzhujushi
排障流程:先稳定复现,再二分定位,最后用证据说话,不许靠猜改代码。
SkillAFreshness: A★ 2Claude Code +9 - 0.553score
testing
guzhujushi
测试驱动的改动流程:先写一条会红的测试,再小步改实现,最后跑目标测试与全量回归并对比基线。
SkillAFreshness: A★ 2Claude Code +9
Cite this page
trm-cli skill. Agent Mart. https://agentmart.dev/skills/guzhujushi-trm-cli (last updated 2026-10-24)