agentleFS
ciberjohnciberjohn/Hermes-Skills/ai-projects/SKILL.md

ai-projects

Skill17 starsChanged 2 months agoMITView on GitHub

Sync a Git repository of AI projects to a local directory.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the directory already exists, it performs a git pull to update.

    line 14
  2. Very specific:

    If {{AI_PROJECTS_LOCAL_PATH}} exists but is not a Git repository, the skill halts with an error message.

    line 50
  3. Distinctive:

    If the remote is unreachable, git pull will fail with the underlying Git error — review network connectivity and repository URL.

    line 52
  4. Distinctive:

    If the local tree has uncommitted changes, git pull --ff-only will reject the update.

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ai-projects

Syncs a configured Git repository containing AI projects to a local directory. If the directory already exists, it performs a git pull to update. If not, it clones the repository fresh. Always reports the current status of the local working tree.

Configuration Variables

VariablePurposeExample
{{AI_PROJECTS_REPO_URL}}The full Git remote URL to clone fromhttps://github.com/example/ai-projects.git
{{AI_PROJECTS_LOCAL_PATH}}Absolute path to the local copy~/ai-projects

Set these in your Hermes profile configuration under the ai-projects skill block, or export them as environment variables before invoking the skill.

Steps

  1. Check existence — If {{AI_PROJECTS_LOCAL_PATH}} does not exist, clone {{AI_PROJECTS_REPO_URL}} into it. If it already exists and is a Git repository, proceed to step 2.
  2. Update — Run git pull --ff-only inside {{AI_PROJECTS_LOCAL_PATH}} to fetch and merge upstream changes without creating merge commits.
  3. Report — Print the current branch, latest commit hash, commit message, and whether the working tree is clean.

Prerequisites

  • Hermes Agent — The skill relies on Hermes's variable interpolation and terminal execution.
  • Git — Must be installed and available on PATH.
  • Network access — The remote repository must be reachable from the execution environment.

Error Handling

  • If {{AI_PROJECTS_LOCAL_PATH}} exists but is not a Git repository, the skill halts with an error message.
  • If the remote is unreachable, git pull will fail with the underlying Git error — review network connectivity and repository URL.
  • If the local tree has uncommitted changes, git pull --ff-only will reject the update. Stash or commit local changes before running the skill again.

Usage

# The skill is invoked via Hermes:
#   "sync my ai projects"
# or directly from the shell:
hermes skill run ai-projects

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.