From skim
Interact with skim code review sessions. Use when the user says "/skim", "review with skim", "add skim comment", "skim session", or needs to: - Review code changes in a running skim TUI - Add comments to specific lines in a diff - List or manage review comments - Get diff context to understand changes
How this skill is triggered — by the user, by Claude, or both
Slash command
/skim:skimThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Skim is a keyboard-driven TUI for code reviews. You can interact with running sessions to review code and add comments programmatically.
Skim is a keyboard-driven TUI for code reviews. You can interact with running sessions to review code and add comments programmatically.
Try MCP first, fall back to CLI:
mcp__skim__list_clients tool existsMCP:
mcp__skim__list_clients {}
CLI:
skim session list
Output example:
Running sessions (1):
PID: 12345
CWD: /path/to/project
Diff: working
Files: 3
If no sessions: tell user to start skim (skim, skim --staged, skim main..feature)
MCP: (use PID from list_clients as client_id)
mcp__skim__get_file_diff {
"client_id": "12345",
"file": "src/app.zig"
}
CLI:
skim session diff --file src/app.zig
Output format:
=== src/app.zig ===
@@ Hunk 0: -10,5 +10,6 @@
+ 42 | const x = 1; <- Added line: line_type="new", line=42
- 41 | const old = 2; <- Deleted line: line_type="old", line=41
41 42 | unchanged <- Context: line_type="new", line=42
MCP:
mcp__skim__add_comment {
"client_id": "12345",
"file": "src/app.zig",
"line": 42,
"line_type": "new",
"text": "Consider adding error handling here"
}
CLI:
skim session comment add \
--file src/app.zig \
--line 42 \
--type new \
"Consider adding error handling here"
| Diff marker | line_type | Use line from |
|---|---|---|
+ (added) | "new" | NEW column |
- (deleted) | "old" | OLD column |
(context) | "new" | NEW column |
mcp.md - Full MCP tool reference with all parameterscli.md - Full CLI command referenceworkflow.md - Step-by-step review workflowCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub ctdio/skim --plugin skim