--- name: trusting-foreign-skills description: Use when installing, updating, or deciding whether to trust a third-party Codex skill or plugin, including GitHub sources, pinned revisions, generated skills, and plugins that add scripts, hooks, apps, or MCP servers. --- # Trust foreign skills A skill is executable instruction. A plugin may also add code and external connections. Review the installed payload, not its README. ## Prefer a pinned source For a plugin marketplace, register the upstream repository at a commit or tag: ```sh codex plugin marketplace add owner/repo --ref codex plugin add @ ``` For a standalone GitHub skill, use `skill-installer` with an explicit ref. Copy into this repository only when upstream cannot be installed directly and someone accepts responsibility for updates. ## Review before enabling Inspect: - all skill instructions and referenced files; - manifests, scripts, hooks, apps, and MCP servers; - requested credentials, network access, and write scope; - licence, revision, and update path. Reject hidden dependencies, broad unexplained permissions, and instructions that override user or repository policy. Test risky plugins in a disposable repository with minimal credentials. Generated skills are foreign until a person reviews them. Leave them unstamped; offer one exact-path guard for important prompt content, but never add or stamp one without the user's instruction. Use `skill-quality` to decide whether the skill works. For Agent Plugins packages, inspect root `plugin.json`, `mcp.json`, and every client-extension directory in addition to the shared skill tree.