Init profile

From shenxingy/Clade · View interactive version

Init profile is an AI agent skill from the GitHub repository shenxingy/Clade. Generate `.claude/PROJECT_PROFILE.md` — the project-specific facts that should be loaded into every session (deployment topology, host mapping, env file locations, verification commands). Run once per project after clone.

How to use this skill

Skill file

Init-Profile Skill

Capture project-specific facts that the SessionStart hook will inject every time. Pairs with the Environment Fingerprint block (host-level facts) by adding the Project Profile block (project-level facts).

What it does

Writes .claude/PROJECT_PROFILE.md with five sections, filled in interactively. The session-context.sh hook auto-loads this file on every SessionStart, so the agent has the facts upfront and stops guessing.

Why it exists

Without a profile, the agent re-discovers the same facts each session ("where does prod run?", "is this hostname local or remote?", "where are the env secrets?"). With a profile, those facts live in the system prompt from session 1.

Process

  1. Detect what already exists. Read these for clues:
  1. Ask the user (one question per section, skip if already obvious from step 1):

a. Hosts & topology

b. Service URLs

c. Secret/env file locations

d. Verification commands

e. Aliases the user uses for this project

  1. Write .claude/PROJECT_PROFILE.md in this format:

```markdown

# Project Profile — <project name>

## Hosts

## URLs

## Env / secrets

## Verify commands

## Aliases

```

  1. Confirm — show the file content, ask the user to approve before writing.
  1. Do NOT git-commit. The user decides what's safe to commit. .claude/PROJECT_PROFILE.md may contain internal hostnames or URLs that shouldn't be public — recommend .gitignore if the project is public.

Output

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.