Agent Skills setup

An Agent Skill is a folder with a SKILL.md file that gives an AI agent the instructions for one kind of task, as defined by the open Agent Skills format (https://agentskills.io/). A group often keeps its skills in one GitHub repository, with one folder for each skill under skills/. This page explains how to install skills from such a repository in Claude, ChatGPT and Codex, and Hermes Agent, and how to keep them updated when the repository changes. This site does not publish Agent Skills for TFW; the steps apply to any skill repository.

In the steps, <owner>/<repo> is the GitHub repository, <skill> is a skill folder name, and <marketplace> and <plugin> are names from the repository’s .claude-plugin/marketplace.json file.

Before you install

What each product supports

ProductHow skills are addedHow skills are updated
Claude CodePlugin marketplace from the repositoryAuto-update, turned on for each marketplace
claude.ai, Claude desktop, CoworkGitHub marketplace syncOn every push to the default branch
Claude APISkills API uploadA new version uploaded for each change
CodexSkill folders on disk, or a plugin marketplaceA scheduled git pull, or a scheduled marketplace upgrade
ChatGPTWorkspace import of a GitHub marketplaceOnce a day, and on request
Hermes AgentRead-only git copy listed in skills.external_dirs, or a skill tap for one userA scheduled git pull, or hermes skills update run by a cron job

Claude

Claude Code

A repository with a .claude-plugin/marketplace.json file is a plugin marketplace. Add it and install its plugin:

claude plugin marketplace add <owner>/<repo>
claude plugin install <plugin>@<marketplace>

Private repository. Claude Code uses the git credentials of the computer. Set them up once, for example with the GitHub CLI:

gh auth login
gh auth setup-git

A GITHUB_TOKEN environment variable alone is not used by the background update check; it takes effect only through a git credential helper.

Updates. Auto-update is off by default for marketplaces other than the official ones. Turn it on in /plugin > Marketplaces > the marketplace > Enable auto-update, or in the user settings file ~/.claude/settings.json:

{
  "extraKnownMarketplaces": {
    "<marketplace>": {
      "source": { "source": "github", "repo": "<owner>/<repo>" },
      "autoUpdate": true
    }
  }
}

Claude Code checks for updates in each interactive session, within ten minutes after the first message, and loads new versions at the next start or after /reload-plugins. To update on a schedule instead, run claude plugin marketplace update <marketplace> and then claude plugin update <plugin>@<marketplace>.

Version. If the plugin sets a fixed version in its plugin.json file or its marketplace entry, Claude Code keeps every user on that version until someone changes the value. Leave version out to make every commit a new version.

claude.ai, the Claude desktop app, and Cowork

Add the repository as a GitHub marketplace and turn on automatic sync. claude.ai then syncs the marketplace each time someone pushes to the default branch.

Plugins turned on in claude.ai also load in Claude Code. On one computer, use either this method or a Claude Code marketplace for the same plugin, not both.

Claude API

Upload each skill folder with the Skills API: POST /v1/skills the first time, and POST /v1/skills/{skill_id}/versions with the full folder after each change. A request that names the skill with "version": "latest" uses the newest version. A scheduled job or a CI workflow on the repository can upload the new versions. Skills on the API run without network access, so a skill cannot open web pages there.

ChatGPT and Codex

ChatGPT

On a Business, Enterprise, or Edu workspace, a workspace admin imports the repository as a plugin marketplace: Admin > Plugins > Add > Import marketplace, then authorize GitHub with an account that can read the repository and every repository it refers to. Private repositories are supported. ChatGPT reads .agents/plugins/marketplace.json or .claude-plugin/marketplace.json.

Updates. An imported marketplace syncs once a day, and the admin can select Sync now. Sync uses the GitHub connection of the admin who imported it, so use an account that keeps its access. If an update is not valid, the plugin keeps its last working version. The admin sets each plugin to Available or Installed for each role.

Codex

Codex loads skills from .agents/skills/ in a repository and from ~/.agents/skills/ for the user, and it follows symbolic links to skill folders. Clone the repository and link every skill folder:

git clone git@github.com:<owner>/<repo>.git ~/src/<repo>
mkdir -p ~/.agents/skills
for d in ~/src/<repo>/skills/*/; do ln -sfn "${d%/}" ~/.agents/skills/"$(basename "$d")"; done

Private repository. The clone uses the git credentials of the computer, as for any private repository.

Updates. Run git -C ~/src/<repo> pull --ff-only once a day, for example from cron or launchd, and run the for line again to link any new skill. Codex detects changed skills; restart Codex if a change does not appear.

Codex also installs plugins from a marketplace with codex plugin marketplace add <owner>/<repo>, and codex plugin marketplace upgrade updates them. A skill folder may contain an optional agents/openai.yaml file with the name, description, and default prompt that Codex and ChatGPT show.

Hermes Agent

Hermes Agent loads skills from each profile’s own skills folder and from the folders listed in skills.external_dirs in the profile’s config.yaml. There are two ways to install skills from a repository:

Use one method for each repository. A skill in a profile’s own skills folder replaces an external skill with the same name, so a skill installed both ways is loaded from the profile’s copy.

Read-only git copy

  1. As an administrator, not as the account that runs Hermes Agent, clone the repository to a fixed path, for example /opt/skills/<repo>. Make the copy owned by the administrator and not writable by the account that runs Hermes Agent.

  2. Add the copy’s skills/ folder to skills.external_dirs in the config.yaml of every profile that uses the skills:

    skills:
      external_dirs:
        - /opt/skills/<repo>/skills
      disabled:
        - <a skill that this installation does not use>
  3. List each skill from the repository that the profile must not use in skills.disabled.

  4. Update the copy on a schedule as the administrator, for example every hour from a systemd timer or cron: git -C /opt/skills/<repo> pull --ff-only. New sessions use the new version.

Private repository. The administrator’s clone needs a read-only credential for the repository, for example a deploy key or a token of an account that has read access. Keep it where the account that runs Hermes Agent cannot read it.

Several repositories. Clone each repository the same way and list each skills/ folder in skills.external_dirs.

Skill tap

A skill tap is a GitHub repository whose skills/ folder holds one folder for each skill. Hermes Agent installs the skills into the profile’s own skills folder.

hermes skills tap add <owner>/<repo>
hermes skills install <owner>/<repo>/<skill>

Install each skill you need the same way. If the skills are in another folder, change the tap’s path in ~/.hermes/skills/.hub/taps.json.

Private repository. Put a GitHub token with read access to the repository in ~/.hermes/.env:

GITHUB_TOKEN=<token>

Security scan. Hermes Agent scans each skill when it installs or updates it. Skills from a tap have community trust, so any high-severity finding blocks the install. Read the findings with hermes skills audit.

Updates. hermes skills check lists the skills that have a new version, and hermes skills update installs the new versions. It skips skills that were edited locally; hermes skills update <skill> --force replaces them. To update once a day, put a script in ~/.hermes/scripts/ and add a cron job that runs it without the model:

cat > ~/.hermes/scripts/skills-update.sh <<'SCRIPT'
#!/usr/bin/env bash
set -a; . "$HOME/.hermes/.env"; set +a
hermes skills update
SCRIPT
chmod +x ~/.hermes/scripts/skills-update.sh
hermes cron create "every 1d" --no-agent --script skills-update.sh --name skills-update

The script reads ~/.hermes/.env because cron scripts do not inherit credentials from the Hermes Agent process. Cron jobs run inside the Hermes Agent gateway, so the gateway must be running.

Skills from two repositories

A group may use public skills from one repository and keep its own values, such as names, codes, and addresses, in skills in a second, private repository. Name each of the group’s skills differently from the public skills, so that both sets load side by side in every product and neither replaces the other. Install both repositories with the same method.

For Hermes Agent, list the skills/ folders of both copies in skills.external_dirs, or add both repositories as taps.

Claude Code can install the second repository’s plugin together with the first, when its marketplace declares the dependency and allows the first marketplace with allowCrossMarketplaceDependenciesOn. Turn on auto-update for both marketplaces. The other products do not install dependencies: add both repositories, and in claude.ai turn on the plugin from the first repository wherever the plugin from the second is available.

Agent notes