/install ask-claude-skill
Ask Claude — Execute & Report (with persistent sessions)
The Two Modes
New session (default)
Use when starting a fresh task or new topic.
OUTPUT=$(/home/xmanel/.openclaw/workspace/run-claude.sh "prompt" "/workdir")
echo "$OUTPUT"
Continue session (--continue)
Use when the user is following up on a previous Claude task in the same workdir. Claude Code will have full memory of what was done before — files read, edits made, context gathered.
OUTPUT=$(/home/xmanel/.openclaw/workspace/run-claude.sh --continue "prompt" "/workdir")
echo "$OUTPUT"
When to use --continue
Use --continue when the user says things like:
- "agora corrige o que encontraste"
- "continua"
- "e o ficheiro X?"
- "faz o mesmo para..."
- "e agora?"
- "ok, e o erro de..."
- Anything that clearly references what Claude just did
Use a new session when:
- New unrelated task
- User says "começa do zero" / "new task" / "esquece o anterior"
- Different workdir/project
Session storage
Claude Code stores sessions per-directory in ~/.claude/projects/.
As long as you use the same workdir, --continue picks up exactly where it left off —
same file context, same conversation history, same edits.
Direct command (alternative to wrapper)
# New session
OUTPUT=$(cd /workdir && env -u CLAUDECODE claude --permission-mode bypassPermissions --print "task" 2>&1)
# Continue session
OUTPUT=$(cd /workdir && env -u CLAUDECODE claude --permission-mode bypassPermissions --print --continue "task" 2>&1)
Common workdirs
| Context | Workdir |
|---|---|
| General/scripts | /home/xmanel/.openclaw/workspace |
| Trading | /home/xmanel/.openclaw/workspace/hyperliquid |
After receiving output
- Summarize in 1-3 lines what Claude did/found
- Mention files created or edited
- If error: analyze and suggest fix
- If output is long: summarize, offer full output on request
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ask-claude-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/ask-claude-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Ask Claude Skill 是什么?
Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions — Claude Code remembers previous context with... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 360 次。
如何安装 Ask Claude Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ask-claude-skill」即可一键安装,无需额外配置。
Ask Claude Skill 是免费的吗?
是的,Ask Claude Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Ask Claude Skill 支持哪些平台?
Ask Claude Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Ask Claude Skill?
由 0xManel(@0xmanel)开发并维护,当前版本 v1.1.1。