Opencli readonly probe
Skill yangshu2087/Codex/.agents/skills/opencli-readonly-probe
Meta workspace for Codex configuration, shared skills, and maintenance scripts.
npx -y skills add yangshu2087/Codex --skill opencli-readonly-probeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when evaluating OpenCLI from Codex with strict read-only constraints, especially for HackerNews, local GitHub CLI status, or Codex Desktop CDP reachability checks.
SKILL.md
2.6 KB, as published. Nobody here has run it
OpenCLI Read-Only Probe
Overview
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
Allowed Commands
| 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 |
| 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 |
Hard Rules
- Do not run
openclidirectly for Codex work; use the wrapper. - Do not install OpenCLI globally or add shell completion.
- Do not install the Browser Bridge extension unless the user explicitly approves it in a separate task.
- Do not run write-capable commands:
reddit,codex send/new/ask/export,gh repo/pr/issue,browser,plugin,install, orregister. - The wrapper forces OpenCLI
HOMEinto/tmp;gh --versionandgh auth statususe the localghbinary directly and never delegate to OpenCLI external CLI auto-install. - Treat
codex readas sensitive: summarize only what is necessary and avoid exposing unrelated private thread content. - If Codex Desktop CDP is not reachable, report the gap; do not restart Codex with
--remote-debugging-portunless explicitly asked.
Verification
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