.agents/skills/opencli-readonly-probe/SKILL.md
Use when evaluating OpenCLI from Codex with strict read-only constraints, especially for HackerNews, local GitHub CLI status, or Codex Desktop CDP reachability checks.
npx skillsauth add yangshu2087/Codex opencli-readonly-probeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use OpenCLI only through the workspace wrapper. The wrapper keeps OpenCLI out of global PATH, forces an isolated HOME/runtime for OpenCLI-backed commands, restricts commands to a small allowlist, and stops the OpenCLI daemon on exit. The GitHub status checks deliberately use local gh directly to avoid OpenCLI external auto-install behavior.
Wrapper:
/Users/yangshu/Codex/scripts/opencli-readonly.sh
| Need | Command |
|---|---|
| HackerNews public reads | scripts/opencli-readonly.sh hackernews top --limit 5 -f json |
| Other HackerNews public reads | scripts/opencli-readonly.sh hackernews new|best|ask|show|jobs|search|user ... |
| Local GitHub CLI version | scripts/opencli-readonly.sh gh --version |
| Local GitHub auth status | scripts/opencli-readonly.sh gh auth status |
| Codex Desktop CDP reachability | scripts/opencli-readonly.sh codex status |
| Codex Desktop current model | scripts/opencli-readonly.sh codex model |
| Codex Desktop current thread read | scripts/opencli-readonly.sh codex read |
opencli directly for Codex work; use the wrapper.reddit, codex send/new/ask/export, gh repo/pr/issue, browser, plugin, install, or register.HOME into /tmp; gh --version and gh auth status use the local gh binary directly and never delegate to OpenCLI external CLI auto-install.codex read as sensitive: summarize only what is necessary and avoid exposing unrelated private thread content.--remote-debugging-port unless explicitly asked.Before trusting results, run the narrow checks:
bash -n /Users/yangshu/Codex/scripts/opencli-readonly.sh
/Users/yangshu/Codex/scripts/opencli-readonly.sh --help
/Users/yangshu/Codex/scripts/opencli-readonly.sh hackernews top --limit 3 -f json
/Users/yangshu/Codex/scripts/opencli-readonly.sh gh --version
/Users/yangshu/Codex/scripts/opencli-readonly.sh codex status
After use, confirm daemon cleanup:
curl -fsS --max-time 2 -H 'X-OpenCLI: 1' http://127.0.0.1:19825/status || true
development
Use when explicitly reviewing, generating, refactoring, or migrating Terraform/OpenTofu IaC and checking failure modes such as identity churn, secrets, blast radius, CI drift, or compliance gates.
development
Use when the user explicitly mentions Google Stitch and wants a structured Stitch-ready UI prompt or prompt refinement from rough product/design ideas.
development
Use when the user explicitly mentions Google Stitch and asks to convert Stitch designs into Vite, CRA, or generic React components.
development
Use when the user explicitly mentions Google Stitch and asks to convert Stitch designs into Next.js App Router components.