publish

publish is a skill for Claude Code from DefaultPerson/agent-setup. It costs 19 tokens per session (364 once invoked), scanned A, original, MIT.

A workflow for publishing a code repository on GitHub and configuring it. GitHub is a service for hosting and collaborating on code.

In plain words
What is it for?
It is for creating or updating a GitHub repository, choosing its owner and visibility, adding a license and topics, configuring GitHub Pages, Dependabot, continuous integration, and a README.
Why use it?
It gathers the setup work—repository creation or updates, visibility, licensing, documentation, automation, and hosting—in one process. It can also detect an existing GitHub setup.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Good fit It is for creating or updating a GitHub repository, choosing its owner and visibility, adding a license and topics, configuring GitHub Pages, Dependabot, continuous integration, and a README.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/defaultperson/agent-setup/publish
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add DefaultPerson/agent-setup --skill publish
Clone the repo
git clone --depth 1 https://github.com/DefaultPerson/agent-setup

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for publish

README.md
[![agentmods](https://agentmods.dev/badge/skills/defaultperson/agent-setup/publish/github.svg)](https://agentmods.dev/skills/defaultperson/agent-setup/publish)
Your own site
<a href="https://agentmods.dev/skills/defaultperson/agent-setup/publish"><img src="https://agentmods.dev/badge/skills/defaultperson/agent-setup/publish/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for publish

Your own site · 80×15
<a href="https://agentmods.dev/skills/defaultperson/agent-setup/publish"><img src="https://agentmods.dev/badge/skills/defaultperson/agent-setup/publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 364 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.00364
Opus 5.5 $0.00008 $0.00146
Sonnet 5.5 $0.00004 $0.00073
Haiku 4.5 $0.00002 $0.00036

Measured 1mo ago against content hash 9c93e1689b41, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

publish scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/publish/SKILL.md · 27 lines

What it actually says

State

  • Origin: !git remote get-url origin 2>/dev/null || echo "no origin"
  • Branch: !git branch --show-current 2>/dev/null || echo "not a git repository"
  • GitHub: !gh repo view --json nameWithOwner,visibility,description --jq '"\(.nameWithOwner) (\(.visibility)) — \(.description)"' 2>/dev/null || echo "not on GitHub yet"

Goal

Create the GitHub repository for this directory, or bring an existing one up to date, with gh.

Before changing anything, ask up front — in as few AskUserQuestion calls as possible, showing current values for an existing repository: owner (personal account or one of gh api user/orgs), visibility, description (suggest one from the README), license, GitHub Pages (MkDocs Material), Dependabot, CI workflow, .gitignore, README scaffold.

Then apply only what was chosen:

  • Take the repository name from the directory and topics from the detected stack and the README.
  • Match CI, Dependabot ecosystems and .gitignore templates (gh api gitignore/templates/<Name>) to the stack actually in the repository. Scan untracked files for anything that should be ignored and confirm before adding it.
  • Never overwrite a non-empty README; merge into an existing .gitignore only after asking.
  • Commit and push what you generate.

Finish with the repository URL and a list of what changed.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -75 lines · -31 tokens per session 9c93e1689b41
  2. 1mo ago First seen · 102 lines · 50 tokens per session scan A 0f52bb8ad59d

Subscribe to this mod's changes

publish is a skill published in the GitHub repository DefaultPerson/agent-setup (11 stars, last pushed 12d ago), licensed MIT. It adds 19 tokens to every session and 364 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

bark-notify

Use this skill whenever the user wants Claude Code on a Mac to notify an iPhone through Bark when a task, turn, or coding session finishes. Trigger on requests about Bark notifications, Claude completion alerts, iPhone push reminders, macOS to iPhone completion messages, Bark hook setup, or Bark troubleshooting, even…

RUIIIOVO/claude-code-bark-notify · 79 tokens

bark-notify-setup

Set up Bark completion notifications for Claude Code on macOS by safely writing the local Bark sender script and merging a Stop hook into /.claude/settings.json. Use when the user explicitly asks to configure Bark for them or to directly install the completion notification flow.

RUIIIOVO/claude-code-bark-notify · 58 tokens

conventional-commit

Rules for writing Conventional Commits messages in this project. MUST be invoked every time a commit is created.

JanDeDobbeleer/oh-my-posh · 26 tokens

python-release

Handle Python SDK release, build, bump, packaging metadata, PyPI client pin, uv.lock, nox/build workflow, and publish verification changes. Use for Python release process work or dependency pin bumps; do not use for ordinary Python feature implementation.

ComposioHQ/composio · 53 tokens

release-notes

Generate and publish concise, evidence-based notes in the body of the latest existing GitHub Release. Use only when the user explicitly invokes $release-notes or explicitly asks to update the latest existing GitHub Release body. Do not invoke for general release planning, changelog, tag, or version tasks.

kenryu42/cc-safety-net · 65 tokens

ai-visibility-writing

Audit, question, suggest, or fact-preservingly revise a press release, blog post, contributed article, or expert explainer so AI answer systems can more easily retrieve, understand, quote, and cite its useful information. Use when someone asks for AI visibility, AI search, answer-engine, AEO, GEO, AI Overview, or…

elvisun/newsjack · 137 tokens