Skim
Skill ctdio/skim/skills/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 changesFrom its SKILL.md
npx -y skills add ctdio/skim --skill skimAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.3 KB, as published. Nobody here has run it
Skim Code Review Integration
Skim is a keyboard-driven TUI for code reviews. You can interact with running sessions to review code and add comments programmatically.
Interface Selection
Try MCP first, fall back to CLI:
- Check if
mcp__skim__list_clientstool exists - If yes: use MCP tools (direct, no shell needed)
- If no or fails: use CLI commands via Bash
Quick Reference
Step 1: Find Sessions
MCP:
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)
Step 2: Get Diff (REQUIRED before commenting)
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
Step 3: Add Comments
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"
Line Type Rules
| Diff marker | line_type | Use line from |
|---|---|---|
+ (added) | "new" | NEW column |
- (deleted) | "old" | OLD column |
(context) | "new" | NEW column |
For More Details
mcp.md- Full MCP tool reference with all parameterscli.md- Full CLI command referenceworkflow.md- Step-by-step review workflow