github-init

github-init is a skill for Claude Code, Codex from pwdev-solucoes/pwdev-claude-marketplace. It costs 64 tokens per session (731 once invoked), scanned A, original, Apache-2.0.

A setup workflow for connecting a repository to GitHub Projects. It checks that the GitHub command-line tool is installed, that you are signed in, and that the required project permission is available.

In plain words
What is it for?
Use it to initialise GitHub integration, choose the default repository and project, and prepare the required command-line access.
Why use it?
It catches missing tools, authentication, repository, or permission settings before other GitHub workflows run. It stores the selected repository and project as the default configuration.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the pwdev-github plugin — 5 skills, 2 commands shipped together

Good fit Use it to initialise GitHub integration, choose the default repository and project, and prepare the required command-line access.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pwdev-solucoes/pwdev-claude-marketplace/github-init
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 pwdev-solucoes/pwdev-claude-marketplace --skill github-init
Clone the repo
git clone --depth 1 https://github.com/pwdev-solucoes/pwdev-claude-marketplace

Made for: Claude Code, Codex.

Or install pwdev-github, the plugin that ships this one along with the rest of its 5 skills, 2 commands.

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 github-init

README.md
[![agentmods](https://agentmods.dev/badge/skills/pwdev-solucoes/pwdev-claude-marketplace/github-init/github.svg)](https://agentmods.dev/skills/pwdev-solucoes/pwdev-claude-marketplace/github-init)
Your own site
<a href="https://agentmods.dev/skills/pwdev-solucoes/pwdev-claude-marketplace/github-init"><img src="https://agentmods.dev/badge/skills/pwdev-solucoes/pwdev-claude-marketplace/github-init/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 github-init

Your own site · 80×15
<a href="https://agentmods.dev/skills/pwdev-solucoes/pwdev-claude-marketplace/github-init"><img src="https://agentmods.dev/badge/skills/pwdev-solucoes/pwdev-claude-marketplace/github-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 731 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.00064 $0.00731
Opus 5.5 $0.00026 $0.00292
Sonnet 5.5 $0.00013 $0.00146
Haiku 4.5 $0.00006 $0.00073

Measured 27d ago against content hash f68a137027db, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github-init 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 27d 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.

plugins/pwdev-github/skills/github-init/SKILL.md · 64 lines

How it starts

The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Setup do GitHub

1. Verificação (somente leitura)

command -v gh >/dev/null && gh --version | head -1 || echo "NO_GH"
gh auth status 2>&1 | grep -E "Logged in|Token scopes" || echo "NO_AUTH"
gh repo view --json nameWithOwner,owner -q '.nameWithOwner + " " + .owner.login' 2>/dev/null || echo "NO_REPO"
cat .planning/github.json 2>/dev/null || echo "NO_CONFIG"
Resultado Ação
NO_GH instruir a instalação (https://cli.github.com/) e PARAR
NO_AUTH pedir ! gh auth login e PARAR
scopes sem project pedir ! gh auth refresh -s project (Projects exige esse scope; repo também é necessário)
NO_REPO usar os argumentos como owner/repo ou perguntar

2. Configuração

Pergunte, uma coisa por vez, só o que faltar:

  1. Repositório padrão das issues (owner/repo) — sugira o detectado.
  2. Dono dos Projects: @me (sua conta) ou a organização do repo.
  3. Project ativo: listar os existentes (gh project list --owner <dono> --format json -q '.projects[] | "\(.number) \(.title)"'), escolher um, ou deixar vazio e criar depois com a skill github-project.

Grave .planning/github.json (merge, nunca apague chaves existentes):

{
  "repo": "owner/repo",
  "owner": "@me",
  "project": { "number": 7, "url": "https://github.com/users/me/projects/7", "spec": ".planning/github/project-7.spec.json" }
}

.planning/github/ guarda os mapas de publicação (<slug>.map.json) e as specs efetivas dos Projects — devem ser versionados junto com o roadmap para que outro dev continue o publish.

3. Resumo

✅ pwdev-github configurado
   gh {versão} · scopes: {scopes}
   Repo: {owner/repo} · Projects de: {owner} · Project ativo: {#n título | nenhum}

👉 github-project      → criar Project a partir de template
👉 github-publish <roadmap.json> → publicar roadmap
👉 "fecha a issue #12", "move #14 para Em andamento" → skill github-issues

Idioma: responda no idioma de .planning/config.json (lang); sem config, no idioma do usuário. Caminhos <plugin-root>/..., references/, scripts/ e templates/ são relativos à raiz do plugin; nomes de ferramentas e a forma de citar comandos dependem do runtime (references/runtime.md).

Read the full file on GitHub · 64 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 27d ago First seen · 64 lines · 64 tokens per session scan A f68a137027db

Subscribe to this mod's changes

github-init is a skill published in the GitHub repository pwdev-solucoes/pwdev-claude-marketplace (3 stars, last pushed 10d ago), licensed Apache-2.0. It adds 64 tokens to every session and 731 once invoked, about $0.0003 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-09-28.

Related

Other skills, from other repositories

story-readiness

Checks whether a story is ready to implement: clear acceptance criteria, no open questions, valid ADR and dependencies. Use when the user asks if a story, or the sprint's stories, are ready to start or build.

Donchitos/Claude-Code-Game-Studios · 48 tokens

recipe-create-meet-space

Create a Google Meet meeting space and share the join link.

googleworkspace/cli · 18 tokens

atmos-config

Atmos root configuration: atmos.yaml discovery, precedence, deep merging, basepath, imports, minimal bootstrap, and routing to narrower Atmos skills.

cloudposse/atmos · 31 tokens

workthreads

SpecStory Workthreads - a weekly work-thread rollup across a team's repos from SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more). It groups the window's sessions into threads of work per project and labels each new / open / recently closed, so a lead sees what shipped, what is still…

specstoryai/getspecstory · 126 tokens

qa-project-bootstrap

Onboard a new QA engineer to an existing codebase, or audit an existing test architecture. Produces a 30-day ramp plan: codebase orientation, framework walkthrough, test architecture audit, mentorship pairing, and first-test guidance. Use when: "QA onboarding," "new tester," "ramp up," "test architecture audit,"…

petrkindlmann/qa-skills · 124 tokens

handle-linkedin-connection-request-signal

Use this skill when someone sends a team member an inbound LinkedIn connection request. An inbound request is a deliberate, ACTIVE first-party intent signal — meaningfully stronger than a passive profile view — and it deserves different scoring rules. The skill resolves and enriches the requester, gates them through…

swan-gtm/gtm-skills · 160 tokens