host-workspace-operator
Skill53 starsChanged 4 months agoMITView on GitHub
Use when a ChatGPT/Codex Plugin workflow needs to inspect, search, modify, or verify files in the host workspace using the safest native tools available.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- imMamdouhaboammar/motion-graphics-skillsword for word, first seen Oct 1, 2026
Other versions1 project uses a version of this.
Word for word · 1
- imMamdouhaboammar/motion-graphics-skills★ 15100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
The file
Show its rules and text
We split this skill into the rules it gives an agent
28 rules. About 0 are common, 26 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈26
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use workspace tools supplied by the current ChatGPT/Codex host instead of pretending the Plugin owns a filesystem API.
- Distinctive: line 14
Prefer the narrowest operation that can answer the task:
- Distinctive: line 18
search: use semantic/content search when the user asks a broad question or exact wording is uncertain.
- Distinctive: line 19
grep: use exact text or regex search when the term, symbol, field, or pattern is known.
- Distinctive: line 21
write: create or replace a file only when the requested workflow requires a mutation.
- Distinctive: line 22
shell: run repository commands when file tools are insufficient and command execution is appropriate.
- Distinctive: line 23
python: use host-native Python for deterministic parsing, transformations, hashing, package inspection, or verification.
- Very specific: line 25
Do not use shell or Python just to imitate a safer read/search/file operation that the host already provides.
- Distinctive: line 29
Treat read, list, search, and grep as the default discovery phase.
- Distinctive: line 34
prefer exact file/range reads after a search locates the relevant section
- Distinctive: line 35
avoid loading huge dependency/build trees without need
- Distinctive: line 41
Write, patch, delete, move, rename, format, or command-based modification are mutation operations.
- Distinctive: line 48
prefer a focused patch over full-file replacement
- Distinctive: line 49
avoid destructive shell commands when a file operation can do the job
- Distinctive: line 50
never write secrets into source, manifests, logs, examples, or release artifacts
- Distinctive: line 54
read the changed area back when practical
- Distinctive: line 55
run the relevant verifier/test when available
- Distinctive: line 60
Use search for concepts and grep for exact patterns.
- Distinctive: line 68
Do not claim the entire workspace was searched if the host search covered only an index, limited scope, or returned a truncated result.
- Distinctive: line 72
Use shell when the workflow needs a command such as tests, git inspection, archive tooling, or repository-native validation.
- Distinctive: line 75
prefer read-only commands first
- Distinctive: line 76
avoid network-dependent commands unless network access is known and required
- Distinctive: line 77
do not execute arbitrary target-repository scripts merely because they exist
- Distinctive: line 78
never weaken tests or security checks just to obtain a passing result
- Distinctive: line 86
If a required host tool is unavailable:
- Distinctive: line 88
do not invent a replacement tool name or undocumented Plugin manifest field
- Very specific: line 89
do not claim read/write/search/grep/shell/Python activity occurred
- Distinctive: line 90
use another available capability only when it preserves the task semantics and safety boundary
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Host Workspace Operator
Use workspace tools supplied by the current ChatGPT/Codex host instead of pretending the Plugin owns a filesystem API.
Tool names differ by surface. Route by capability, not by a hard-coded tool name. Typical capabilities include read, list, search, grep, write, patch, shell, and python.
Capability order
Prefer the narrowest operation that can answer the task:
- read: open a known file or exact range when the path is known.
- list: enumerate a directory or workspace scope when filenames are unknown.
- search: use semantic/content search when the user asks a broad question or exact wording is uncertain.
- grep: use exact text or regex search when the term, symbol, field, or pattern is known.
- patch: make a focused edit to an existing file when a patch-capable host tool exists.
- write: create or replace a file only when the requested workflow requires a mutation.
- shell: run repository commands when file tools are insufficient and command execution is appropriate.
- python: use host-native Python for deterministic parsing, transformations, hashing, package inspection, or verification.
Do not use shell or Python just to imitate a safer read/search/file operation that the host already provides.
Read-only first
Treat read, list, search, and grep as the default discovery phase. Inspect enough evidence to understand the current state before mutation.
For repository work:
- inspect repository instructions before editing
- prefer exact file/range reads after a search locates the relevant section
- avoid loading huge dependency/build trees without need
- honor ignored/generated/vendor directories when searching
- distinguish repository source from generated artifacts
Mutation boundary
Write, patch, delete, move, rename, format, or command-based modification are mutation operations.
Before mutation:
- confirm the user requested or clearly authorized the change
- respect repository instructions and existing scope
- preserve unrelated work
- prefer a focused patch over full-file replacement
- avoid destructive shell commands when a file operation can do the job
- never write secrets into source, manifests, logs, examples, or release artifacts
After mutation:
- read the changed area back when practical
- run the relevant verifier/test when available
- report the exact files changed and verification evidence
Search and grep rules
Use search for concepts and grep for exact patterns.
Examples:
- “Where is release approval implemented?” -> search first, then read likely files.
- “Find every
mcpServersreference.” -> grep/exact search. - “Which file contains the Plugin subtitle?” -> grep
shortDescription/subtitle, then read the file.
Do not claim the entire workspace was searched if the host search covered only an index, limited scope, or returned a truncated result.
Shell rules
Use shell when the workflow needs a command such as tests, git inspection, archive tooling, or repository-native validation.
- inspect commands before running them
- prefer read-only commands first
- avoid network-dependent commands unless network access is known and required
- do not execute arbitrary target-repository scripts merely because they exist
- never weaken tests or security checks just to obtain a passing result
Python handoff
For deterministic computation or file processing, invoke sandbox-python-executor when it is packaged and the host exposes Python. Keep the same evidence rule: execution must actually happen before claiming a result.
If a tool is unavailable
If a required host tool is unavailable:
- do not invent a replacement tool name or undocumented Plugin manifest field
- do not claim read/write/search/grep/shell/Python activity occurred
- use another available capability only when it preserves the task semantics and safety boundary
- otherwise state which operation is unavailable and keep the dependent result unverified
Generated Plugin rule
Plugin Autopilot should install this Skill into newly converted Plugins when their workflows interact with files, repositories, generated artifacts, or local workspace state. It may also be included as a standard baseline Skill when the Plugin is intended for Codex-style repository work.
The Skill does not grant filesystem permissions. It teaches the model how to use host-native capabilities when present.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

