erk-exec
Original:🇺🇸 English
Translated
Guide for erk exec subcommands. Use when running erk exec commands to understand syntax, find the right command for a task, or learn common workflows. Always check syntax with -h or load this skill before running erk exec commands.
3installs
Sourcedagster-io/erk
Added on
NPX Install
npx skill4agent add dagster-io/erk erk-execTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →erk exec Guide
Quick Start
Before running any command, check syntax with :
erk exec-hbash
erk exec <command> -hCommands by Workflow
PR Review Operations
When addressing PR review comments or resolving threads:
| Command | Purpose |
|---|---|
| Fetch review comments (use |
| Resolve a thread (use |
| Reply to discussion comment |
| Fetch discussion comments |
Typical workflow:
erk exec get-pr-review-comments --pr 123- Make code changes
erk exec resolve-review-thread --thread-id PRRT_xxx
Plan Operations
When working with erk-plans:
| Command | Purpose |
|---|---|
| Save plan (backend-aware) |
| Get metadata from plan |
| Set up impl-context from PR |
| Fetch issue body (REST API) |
| Update issue body (REST API) |
Session Operations
When working with Claude Code sessions:
| Command | Purpose |
|---|---|
| List sessions for current project |
| Compress session for analysis |
| Upload session to gist |
| Download session from gist |
Marker Operations
For inter-process communication:
| Command | Purpose |
|---|---|
| Create marker file |
| Check if marker exists |
| Read marker content |
| Delete marker file |
All marker commands require .
--session-idFull Reference
For complete syntax details on all 65+ commands:
@reference.md