agentleFS
samsam007bsamsam007b/carriere-kit/.claude/skills/connect-github/SKILL.md

connect-github

Skill0 starsChanged 3 months agoMITView on GitHub

Connect this machine to GitHub so database contributions are sent as pull requests. Installs and logs in the GitHub CLI, guides account creation if needed, then flushes the local outbox. Use when contribute.py says GitHub is not connected, when setting up a new machine, or when the user asks about GitHub, pull requests or sharing.

  • Installs packages

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    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. Very specific:

    Ask: "Do you have a GitHub account?" If not, offer to open https://github.com/signup in the browser (skill browser) and walk them through …

    line 28

≈ “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.

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

connect-github

Explain first, in 3 lines: receiving the shared database needs nothing; sending your objective findings back needs a free GitHub account and the GitHub CLI (gh); it takes about 2 minutes and nothing personal is sent. Without it, findings wait in workspace/outbox/.

1. Check

gh --version; gh auth status

2. Install gh if missing (announce the command before running it)

OSCommand
macOSbrew install gh (if brew is missing, point to https://cli.github.com)
Windowswinget install --id GitHub.cli
Debian / Ubuntusee https://github.com/cli/cli/blob/trunk/docs/install_linux.md

3. Account

Ask: "Do you have a GitHub account?" If not, offer to open https://github.com/signup in the browser (skill browser) and walk them through it. They type their email, password and solve the captcha themselves; you wait and continue when they say done.

4. Log in

gh auth login is interactive, so the user runs it in this Claude Code prompt with the ! prefix:

! gh auth login --hostname github.com --git-protocol https --web

Tell them: copy the one-time code shown, press Enter, paste it in the browser page, approve. Then verify with gh auth status.

5. Flush and confirm

python3 tools/contribute.py --dry-run
python3 tools/contribute.py

Show the pull request link. Say three things plainly, before the first send rather than after: a fork of the kit is created automatically under their account (a public repository they own, deletable at any time, recreated at the next send); their pull request is read by the repository owner and merged by them, never automatically; later contributions happen by themselves at session end, and "auto_contribute": false in workspace/config.json turns that off.

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.