g-init SKILL.md skillA

g-init from onlygian/g-forge is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add onlygian/g-forge/g-init@git:20261028.4cf571d

Pins git:20261028.4cf571d in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
onlygian/g-forge
Path
skills/g-init/SKILL.md
Versions recorded
6
Latest version
git:20261028.4cf571d, committed Oct 28, 2026
First version recorded
Aug 11, 2026
Size
19,863 bytes
Repository stars
4
License
GPL-3.0

The single G-Forge front door — run once after installing the plugin. Detects what's here and routes to /g-onboard (existing codebase) or /g-kickoff (new project) for the brief, scaffolds CLAUDE.md (compact G-rules), g-docs/ROADMAP.md (with the Active Session handoff), g-docs/milestones/, g-docs/todo.md, the commit/workflow hooks (plus their shared lib/ scripts) and the native pre-commit gate, then runs /g-specialize for the stack — leaving you ready to /g-plan.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

**Announce:** "Using g-init to set up G-Forge."

`/g-init` is the **single front door**: run once, it takes the project from wherever it is to ready-to-work. Execute the steps in order; skip a step only when its detection says it's already satisfied.

## Step 1 — Confirm project root

The project root is the current working directory. If uncertain, ask the developer to confirm before creating any files.

## Step 1a — Detect self-host source root

Run `scripts/detect-state.sh` and interpret its `KEY: value` lines (full contract in the script header):
- `SELF_HOST: on` → `[plugin-root]` = the project root itself (working tree); every plugin-cache lookup below uses it directly.
- `SELF_HOST: off` → `[plugin-root]` = the `PLUGIN_ROOT:` path (the highest-versioned entry under `~/.claude/plugins/cache/g-forge/g-forge/`). On `CACHE_MISSING: yes`, stop: tell the developer to reinstall with `/plugin install g-forge`.

`[plugin-root]` is resolved once here and reused by every later step. Rationale for the consumer-vs-self-host split: `references/self-host.md` (read only if detection looks wrong or a maintainer asks).

## Step 1b — Detect state and route to intake
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add onlygian/g-forge/g-init@sha256:7845e758376da4cb

The line at the top of this page pins the label git:20261028.4cf571d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_qzg6r5inxvpmjsli.svg)](https://markdownregistry.com/a/art_qzg6r5inxvpmjsli)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between Aug 11, 2026 and Oct 28, 2026, about one every 15 days.

versioncommittedcommitsizeaudit
git:20261028.4cf571d latest2026-10-28 4cf571d 19,863 BA view · diff
git:20260905.dd4304b2026-09-05 dd4304b 19,608 BA view · diff
git:20260902.43671e42026-09-02 43671e4 19,428 BA view · diff
git:20260830.5ed98392026-08-30 5ed9839 30,673 BA view · diff
git:20260815.76270732026-08-15 7627073 29,183 BA view · diff
git:20260811.a8ae21a2026-08-11 a8ae21a 29,154 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (19863 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

onlygian/g-forge · 4 stars · license GPL-3.0 · pushed 2026-10-28 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_qzg6r5inxvpmjsli
GET https://markdownregistry.com/api/v1/resolve?ref=onlygian/g-forge/g-init
GET https://markdownregistry.com/api/v1/blob/7845e758376da4cb60f8c8774456c3828185071af3dc51e068fe1b48f532550e

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from onlygian/g-forge

g-adr SKILL.md skill
onlygian/g-forge · skills/g-adr/SKILL.md · Capture an architectural decision record. First triages whether the decision merits an ADR or just a one-line entry in…
git:20260902.43671e4 · audit A · 4 stars
g-afk SKILL.md skill
onlygian/g-forge · skills/g-afk/SKILL.md · Autonomous milestone executor. Requires an approved plan. Runs all pending waves and auto-review with no between-step…
git:20260902.43671e4 · audit B · 4 stars
g-align SKILL.md skill
onlygian/g-forge · skills/g-align/SKILL.md · Brief-deviation check. Compares the project's actual trajectory (ROADMAP progress, recent commits, the observer…
git:20260831.81b585b · audit A · 4 stars
g-audit SKILL.md skill
onlygian/g-forge · skills/g-audit/SKILL.md · Full-codebase or targeted code quality audit. Detects SOLID violations, code smells, architectural drift, dead code…
git:20260722.4b86922 · audit A · 4 stars
g-blast-radius SKILL.md skill
onlygian/g-forge · skills/g-blast-radius/SKILL.md · Analyse the blast radius of a planned change. Inputs a file path, feature name, or list of paths from a plan. Outputs…
git:20260628.bdb8cad · audit A · 4 stars
g-brief SKILL.md skill
onlygian/g-forge · skills/g-brief/SKILL.md · Refresh g-docs/project_brief.md as the project evolves — reads current state, asks targeted questions, and updates the…
git:20260722.4b86922 · audit A · 4 stars
g-doc-review SKILL.md skill
onlygian/g-forge · skills/g-doc-review/SKILL.md · Documentation review gate. Dispatches the doc-reviewer agent on the changed file set to check documentation currency…
git:20260902.43671e4 · audit B · 4 stars
g-docs SKILL.md skill
onlygian/g-forge · skills/g-docs/SKILL.md · Documentation audit and generation. Scans for missing or stale code docs, missing README sections, undocumented env…
git:20260722.4b86922 · audit A · 4 stars
g-doctor SKILL.md skill
onlygian/g-forge · skills/g-doctor/SKILL.md · Read-only health diagnostics for G-Forge projects — 25 checks including hook registration, installed-copy drift, Check…
git:20261028.4cf571d · audit A · 4 stars
g-execute SKILL.md skill
onlygian/g-forge · skills/g-execute/SKILL.md · Execute an approved wave plan by dispatching parallel subagents per wave. Use after /g-plan is approved, or to resume a…
git:20261028.4cf571d · audit A · 4 stars
g-forecast SKILL.md skill
onlygian/g-forge · skills/g-forecast/SKILL.md · Run scope-realism analysis and premortem on an approved-or-pending plan. Outputs a complexity score, a quantified…
git:20260902.43671e4 · audit A · 4 stars
g-help SKILL.md skill
onlygian/g-forge · skills/g-help/SKILL.md · Context-aware help. With no argument, reads current project state and tells you where you are and what to do next, plus…
git:20261028.4cf571d · audit A · 4 stars

Every file in onlygian/g-forge

Browse by kind, by grade A, or by owner.