erk-exec
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.
How do I install this agent skill?
npx skills add https://github.com/dagster-io/erk --skill erk-execIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides a comprehensive command-line reference for erk, a utility for managing development workflows, GitHub pull requests, and Claude Code sessions. It facilitates automated PR reviews, issue management, and cross-session state synchronization. While the skill possesses broad capabilities for reading from and writing to GitHub, these actions are consistent with its stated purpose as a workflow management tool. Users should be aware that the skill ingests untrusted external data, such as PR comments and issue bodies, which presents a standard surface for indirect prompt injection.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 1 issue
- Runlayerpass
1/2 files flagged
What does this agent skill do?
erk exec Guide
Quick Start
Before running any erk exec command, check syntax with -h:
erk exec <command> -h
Commands by Workflow
PR Review Operations
When addressing PR review comments or resolving threads:
| Command | Purpose |
|---|---|
get-pr-review-comments | Fetch review comments (use --pr N) |
resolve-review-thread | Resolve a thread (use --thread-id) |
reply-to-discussion-comment | Reply to discussion comment |
get-pr-discussion-comments | 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-prs:
| Command | Purpose |
|---|---|
plan-save | Save plan (backend-aware) |
get-pr-metadata | Get metadata from PR |
setup-impl-from-pr | Set up impl-context from PR |
get-issue-body | Fetch issue body (REST API) |
update-issue-body | Update issue body (REST API) |
Session Operations
When working with Claude Code sessions:
| Command | Purpose |
|---|---|
list-sessions | List sessions for current project |
preprocess-session | Compress session for analysis |
push-session | Push preprocessed session to learn branch |
download-remote-session | Download session from gist |
Marker Operations
For inter-process communication:
| Command | Purpose |
|---|---|
marker create | Create marker file |
marker exists | Check if marker exists |
marker read | Read marker content |
marker delete | Delete marker file |
All marker commands require --session-id.
Full Reference
For complete syntax details on all 65+ commands:
@reference.md
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/dagster-io/erk/erk-exec">View erk-exec on skillZs</a>