CODEX GUIDE · INSTALLATION

How to Install Codex Skills with npx: Project vs Personal Scope

Start with the npx command below. Use project scope by default; add -g only when you intentionally want the Skill across repositories. Inspect the source and test it on a small, reversible task.

Published Updated ORIGINAL · SOURCE-AWARE
01

Copy the complete install command

For a Skill published in a GitHub repository, the universal installer accepts the repository URL, Skill name, and Codex target. Run it from the repository where you want the project-scoped Skill. Add -g only for a personal installation.

Replace the placeholders with the source shown on the Skill profile. If the source cannot produce a reliable command, open the linked source and copy the complete Skill folder instead of guessing a repository path.

PROJECT INSTALL · CODEXnpx skills add <github-repository-url> --skill <skill-name> --agent codex
Run from the repository where you want to install this Skill.
PERSONAL INSTALL · CODEXnpx skills add <github-repository-url> --skill <skill-name> --agent codex -g
Makes this Skill available across repositories. Choose this only when that broader scope is intentional.
02

Project scope or personal scope?

Project installation places a Skill under .agents/skills/<skill>/ in the current repository. It is the recommended default because the source, instructions, and changes can be reviewed alongside the project. A teammate receives the same Skill folder when it is committed.

Personal installation places it under ~/.agents/skills/<skill>/ and makes it available across repositories. That convenience also widens the discovery boundary: use it only when the workflow, permissions, and maintenance owner are genuinely the same across projects.

  • Choose project scope for repository-specific conventions or team sharing.
  • Choose personal scope only for a deliberately cross-project workflow.
  • Do not install both copies unless you can explain which one Codex should use.
03

Codex's native $skill-installer vs the universal Skills CLI

Codex also has a native $skill-installer for curated Skills and Skills from other repositories. Use it when you want Codex to handle a local install. The npx skills add commands above are a separate, cross-agent CLI: use them when you want to specify the repository, Skill, target Agent, and project or global scope explicitly.

After an npx install, run the listing command from the intended repository; the second command checks global installs. Then confirm Codex can discover the Skill. For a $skill-installer install, check in Codex itself rather than treating the npx listing as verification.

Shell commandnpx skills ls -a codex
Review the command and any placeholders before running.
Shell commandnpx skills ls -g -a codex
Review the command and any placeholders before running.
  • Codex scans repository .agents/skills and the user-level ~/.agents/skills location; make sure the chosen scope matches the intended path.
  • If a Skill does not appear, confirm SKILL.md includes name and description, then restart Codex.
  • Keep one canonical copy unless you intentionally need both project and user scope.
04

PromptScript does not support global skill installation: what failed?

This message names an agent target and an unsupported installation scope—not a broken Grill Me package or a need for administrator access. In the reviewed installer revision, PromptScript has a project skills directory but no global skills directory. The installer rejects a global request for such a target before copying the Skill.

Read the complete per-agent results. A failure for PromptScript does not prove that Codex failed too; a success banner does not prove that your intended agent can discover its copy. Record the CLI version, selected agent, scope and actual installed path before repeating the command.

If PromptScript is your intended target, choose project scope in the intended project rather than adding -g or --global. If you use Codex, select the Codex target and a supported scope using the commands above, then verify discovery. Do not assume target selection suppresses every extra message in every CLI version.

This is source-grounded troubleshooting reviewed October 20, 2026 at revision a80e4c9d12d607631249d4d7d059f835d4b2f13a, not a reproduced installation fix. Preserve local edits; do not delete all Skills, patch the installer or rerun a broad --all installation as a first response. For Grill Me, separately verify its grilling companion—the scope error and a missing companion are different problems.

  • Identify the agent you actually use, not just the last error line.
  • Separate per-target installation results from agent discovery.
  • Verify both grill-me and grilling when that workflow needs them.
05

Inspect the source before installation

Read SKILL.md and every referenced script, template, or configuration file. Record the repository and revision you reviewed. A short instruction file can still delegate powerful behavior to a bundled script or external service.

Compare the requested access with the first task. A formatting or review Skill should not need publishing credentials, destructive commands, or broad network access merely because those capabilities are available in the Agent environment.

  • The source repository and reviewed revision are recorded.
  • Referenced files and scripts are present and understandable.
  • Network, command, write, credential, and publishing access match the first task.
  • The source offers a clear update or removal path.
06

Five useful starter roles—not five automatic installs

A balanced developer stack can cover discovery, planning, reusable workflow design, change review, and behavioral evidence. The corresponding SkillSignal shortlist is find-skills, create-implementation-plan, skill-creator, differential-review, and webapp-testing.

Treat those names as role examples, not a universal ranking. Install the one that solves the current bottleneck first. Add another only when it produces a distinct artifact that someone will inspect; replace the evidence role when the product is not a web application.

07

Verify discovery with one controlled task

After installation, confirm that the expected Skill name and description are discoverable in Codex. Then choose a small, reversible task with a clear input, output, stop condition, and rollback. Record which files, commands, network calls, and outputs the run actually used.

A successful first run is local evidence for that source revision, repository, environment, and task. It is not a permanent compatibility or safety certificate. Recheck after source updates, Agent changes, new scripts, or permission expansion.

  • Codex discovers the intended copy and scope.
  • The trigger matches the intended task and stays inactive for an unrelated task.
  • The run remains inside the agreed files, commands, and services.
  • The output passes a human-reviewable acceptance check.
  • Rollback returns the repository to its starting state.
08

Keep the installation smaller than the collection

Review installed Skills monthly by role, source revision, last use, permissions, output owner, and last successful controlled test. Remove a duplicate or unclear Skill before adding a new one.

The goal is not to accumulate every useful package. It is to keep the smallest set whose behavior, sources, and outputs you can still explain. Project scope makes that maintenance easier; personal scope should remain the exception you can justify.

NEXT STEP

Choose one Codex Skill for the task in front of you

Compare source evidence, install scope, permissions, limitations, and Agent fit before copying the command.