pi-ask
Hand a task to a cheap DeepSeek pi worker and talk it over across several turns, for research, a PR review or a second opinion.
Skill by GregHilston
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/greghilston-pi-ask
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: research, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/pi-ask
What's inside
- Skill name
pi-ask- Description
- Hand a task to a cheap DeepSeek pi worker and talk it over across several turns, for research, a PR review or a second opinion. Use when Greg asks to delegate to pi or DeepSeek, or for bulk reading not worth Claude tokens. Not for code changes, which go through /orchestrate-pi or overnight-loop.py.
- License
- MIT
- Instructions
- 57 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# pi-ask One command, already on `PATH`. Run it in your shell (the `terminal` tool in Hermes, Bash in Claude Code, `bash` in pi) exactly as shown: no `python3` in front and no directory. ```bash pi-ask.py --session NAME --dir /abs/dir "task" # first turn pi-ask.py --session NAME "follow-up" # same NAME: same conversation and dir pi-ask.py --session NAME --dir /abs/dir @/abs/prompt.md # a long prompt, from a file pi-ask.py --session NAME --max-cost 1.00 "big task" # raise the spend cap (default $0.50) ``` Don't call `pi -p` yourself. With a stdin left open pi hangs before its first model call and prints nothing, and in plain text mode a timeout loses whatever it did; `pi-ask.py` handles both. - **Name each task,** such as `review-pr-42`. Ask again with the same name to follow up: the worker keeps its context and its warm cache, so a follow-up costs a fraction of a cent. Push back on its answers this way. - **The first turn fixes the dir.** A follow-up runs there without `--dir`, and a different `--dir` is refused (exit 2): pi keys sessions by directory, so another one would start a new conversation. Use a new name for a new dir. - **In Claude Code, run it with `run_in_background: true`.** It prints a start line, any alert lines (`✗`, `!`, `⚠`), then the answer, its cost and the follow-up command. The step-by-step narration goes to `~/.cache/pi-ask/NAME.log`; read it only if the answer puzzles you. You are notified when it exits; read the output then. Don't poll, and don't wrap it in `timeout`. - **Write a long prompt to a file in one call,** then pass `@file` in the next. Put `--` before a prompt that starts with `-`. - **Exit codes:** 0 answered; 1 the turn failed (the error prints after the answer); 2 it could not start: bad arguments, a prompt over the OS argument limit, the session's dir gone, pi not on `PATH`, or started from inside a pi worker; 3 silent for `--idle` seconds (default 300) and killed; 4 stopped past `--max-cost` (default $0.50) or `--max-turns` (default 100); 5 that session is already running, so wait for it. 129, 130 and 143 mean it was interrupted. After 3 or 4, ask again with the same name to carry on. Stop it with Ctrl-C or a plain `kill`, never `kill -9`: that leaves pi running on its own with no cost cap. - **It runs on the gateway's `cloud` model** (DeepSeek Flash), capped at $4 a day. The answer header gives two figures: the cost at DeepSeek's prices, which `--max-cost` uses, and the larger one the gateway counts against that cap, priced from `models.json`. Report both. - **What the worker can touch.** It reads anything under `~/Git`; copy in anything else first. Its `edit` tool is refused outside `--dir`, but inside it can change and discard files (`git checkout -- .`, `sed -i`), and shell commands are not path-checked anywhere. It can't commit, push, pull or delete recursively. Point `--dir` at a clean checkout or worktree, never at work in progress. Toolbox scripts such as `reddit-search.py` are on its `PATH`; `pi-ask.py` itself refuses to run there. - **"No project session found with id …" on a follow-up is a problem:** pi lost the conversation and started afresh. Say so rather than trusting the answer's memory of earlier turns. pi-ask hides it on a first turn, where it is normal.
From GregHilston/toolbox, MIT.
More from GregHilston/toolbox
- 0.638score
overnight
GregHilston
Work a repo's GitHub issues unattended overnight, one fresh claude or pi process per issue, with ./verify.sh deciding what stays.
SkillAFreshness: A★ 15Claude Code +9 - 0.638score
image-generate
GregHilston
Make an image from a description with FLUX.2 klein on moria's GPU, about 20 seconds, and attach it.
SkillAFreshness: A★ 15Claude Code +9 - 0.638score
market-watch
GregHilston
List, add or remove the Craigslist search terms watched near Sheldon, VT, which feed the market bot's hourly Telegram alerts and the morning digest.
SkillAFreshness: A★ 15Claude Code +9 - 0.638score
swarm
GregHilston
Orchestrate a repo's backlog autonomously.
SkillAFreshness: A★ 15Claude Code +9 - 0.638score
netcheck
GregHilston
Triage a network outage from moria, offline-safe and read-only.
SkillAFreshness: A★ 15Claude Code +9 - 0.638score
hacker-news
GregHilston
Search Hacker News and read threads with their comments, no key needed.
SkillAFreshness: A★ 15Claude Code +9 - 0.638score
agent-ready
GregHilston
Set up a repo so fresh agent sessions can build it unattended, with decisions on disk, issues with checkable Done when lines, and a ./verify.sh gate.
SkillAFreshness: A★ 15Claude Code +9 - 0.635score
verify-agent-output
GregHilston
Review an agent's tree with deterministic checks first: clean-tree install, diff, output profile, dead-symbol sweep.
SkillAFreshness: A★ 15Claude Code +9 - 0.635score
reddit
GregHilston
Search Reddit and read threads with their comments, no login needed.
SkillAFreshness: A★ 15Claude Code +9 - 0.635score
lab-alerts
GregHilston
List the home lab's recent and currently firing alerts, then diagnose them from the runbooks.
SkillAFreshness: A★ 15Claude Code +9 - 0.635score
later
GregHilston
Add a someday task to Greg's later list in the notes vault, no pressure and no one waiting.
SkillAFreshness: A★ 15Claude Code +9 - 0.635score
read-page
GregHilston
Read any web page or article as clean text, from its URL.
SkillAFreshness: A★ 15Claude Code +9
Signals
- Stars
- 15
- Forks
- 5
- Open issues
- 0
- Last commit (this folder)
- Oct 14, 2026 (13 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/GregHilston/toolbox
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from GregHilston
- 0.638score
image-generate
GregHilston
Make an image from a description with FLUX.2 klein on moria's GPU, about 20 seconds, and attach it.
SkillAFreshness: A★ 15Claude Code +9 - 0.638score
netcheck
GregHilston
Triage a network outage from moria, offline-safe and read-only.
SkillAFreshness: A★ 15Claude Code +9 - 0.638score
agent-ready
GregHilston
Set up a repo so fresh agent sessions can build it unattended, with decisions on disk, issues with checkable Done when lines, and a ./verify.sh gate.
SkillAFreshness: A★ 15Claude Code +9 - 0.638score
hacker-news
GregHilston
Search Hacker News and read threads with their comments, no key needed.
SkillAFreshness: A★ 15Claude Code +9 - 0.638score
market-watch
GregHilston
List, add or remove the Craigslist search terms watched near Sheldon, VT, which feed the market bot's hourly Telegram alerts and the morning digest.
SkillAFreshness: A★ 15Claude Code +9 - 0.638score
overnight
GregHilston
Work a repo's GitHub issues unattended overnight, one fresh claude or pi process per issue, with ./verify.sh deciding what stays.
SkillAFreshness: A★ 15Claude Code +9
Cite this page
pi-ask skill. Agent Mart. https://agentmart.dev/skills/greghilston-pi-ask (last updated 2026-10-24)