initialize
Create a shared .ai/AI.md context file in the current working directory by inspecting the project, then create only the agent-specific symlinks the user needs…
Skill by custom
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/pascalamiet-initialize
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/initialize
What's inside
- Skill name
initialize- Description
- Create a shared .ai/AI.md context file in the current working directory by inspecting the project, then create only the agent-specific symlinks the user needs (for example CLAUDE.md, AGENTS.md, GEMINI.md) based on a TOML config that also controls paths, behavior, content sections, and limits. Use when: starting an AI-assisted project, when the user says /initialize, or when they ask to set up persistent agent context files.
- License
- MIT
- Metadata
- author: custom · version: 1.2.0
- Instructions
- 235 lines in SKILL.md · view on GitHub
Files (3)
- README.md
- SKILL.md
- config.toml
SKILL.md (first lines)
# initialize — Create Shared AI Context for This Project When invoked, inspect the current project and produce a shared `.ai/AI.md` that gives future agent sessions an accurate, immediately useful briefing. Then create only the root-level symlinks needed for the enabled agents, pointing each of them at the configured shared context path. ## When to Apply - `/initialize` is typed explicitly - The user says "initialize this project", "set up AGENTS/CLAUDE/GEMINI files", "create a session file", etc. - An agent-start workflow finds no usable project context file --- ## Execution ### Step 1: Resolve enabled agents 1. Read `skills/initialize/config.toml` and use it as the default source of truth for this skill. 2. Ensure the project has a `.ai/` directory. 3. If `.ai/config.toml` does not exist in the project and `behavior.create_if_missing = true`, create it by copying `skills/initialize/config.toml`. 4. Read `.ai/config.toml` and use it as the project-local source of truth for which symlinks to create, where to point them, what sections to include, and what limits to respect. 5. Do not ask the user which agents they use. The config file controls this behavior. Only these agents are currently supported by this skill: | Agent | Root symlink | |------|--------------| | Claude | `CLAUDE.md` | | Codex | `AGENTS.md` | | Gemini | `GEMINI.md` | Config sections currently supported: | Section | Purpose | |------|---------| | `[agents]` | Which root-level symlinks should exist | | `[paths]` | Where the shared context file lives | | `[behavior]` | Creation, overwrite, cleanup, and file-protection rules | | `[sections]` | Which optional content blocks to include in `.ai/AI.md` | | `[limits]` | Soft limits for todo count and target file length | ### Step 2: Gather project context (run all in parallel) 1. **Directory tree** — list top-level structure and key subdirectories (exclude `.git`, `node_modules`, `__pycache__`, build artifacts) 2. **README.md** — read if present 3. **Git history** — `git log --oneline -10` and `git status` (skip gracefully if not a git repo) 4. **Key config / manifest files** — read the first relevant one found: `pyproject.toml`, `setup.py`, `package.json`, `Makefile`, `*.Rproj`, `environment.yml` — just enough to infer stack and purpose 5. **Memory files** — read any relevant agent memory directories that exist (for example `~/.claude/projects/[project-path]/memory/`) to surface user preferences or prior decisions ### Step 3: Infer project type Classify the project into one of: | Type | Signals | |------|---------| | **Empirical research** | `data/`, `code/R/`, `code/stata/`, `scripts/`, `*.do`, `*.Rmd`, `*.ipynb` | | **Theory paper** | `notes.md`, `literature/`, LaTeX files, no data scripts | | **Software / package** | `src/`, `tests/`, `package.json`, `pyproject.toml`, CI config | | **Mixed / other** | Combination of above | The project type determines which optional sections to include (see Step 4). ### Step 4: Ask the user one focused question If the project purpose is unclear from inspection alone, ask: > "Quick question before I write `.ai/AI.md` — what is this project about in one sentence? (I can infer the structure but want to get the goal right.)" If the purpose is obvious from README or files, skip this and proceed. ### Step 5: Write the shared context file Use `paths.shared_context` as the output path for the shared context file. The default is `.ai/AI.md`. This file should contain the content that would normally go into the main project agent file. Fill every section from what you gathered — never leave placeholder text if real content is available. Honor the config when deciding what to include: - If `sections.include_stack = false`, omit `## Stack & Tools` - If `sections.include_conventions = false`, omit `## Conventions` - If `sections.include_core_ideas = false`, omit `## Core Ideas / Framework` - If `sections.include_gemini_cli = false`, omit `## Using Gemini CLI for Large Context Analysis` - If `sections.include_session_log = false`, omit `## Session Log` - Cap inferred todos to roughly `limits.max_todos` - Aim to keep the file near `limits.target_max_lines` --- ```markdown # AI.md *Shared project context for Claude, Codex, Gemini, and other coding agents.* ## Project Overview [One paragraph: research question or software goal, current status, main tools / language stack. Be specific — bad: "a research project about welfare". Good: "Theory paper deriving regret bounds for distributional EWM estimators (S-Gini objective). Ideas stage, no code yet. Will use R for simulations."] ## Project Structure [Annotated directory tree. Include all top-level dirs/files. Add a short comment after each entry explaining its role.] ## Stack & Tools [List languages, frameworks, key packages, and any unusual tooling. Skip if obvious from structure. Examples: "R (fixest, ggplot2), LaTeX, GitHub Actions CI" or "Python 3.12, PyTorch 2, uv for deps".] <!-- OPTIONAL — include for empirical/software projects: --> ## Conventions [Any project-specific rules: naming conventions, where to write outputs, code style, data immutability rules, etc. Start with the most important ones. 3–6 bullet points max.] <!-- OPTIONAL — include for research projects: --> ## Core Ideas / Framework [For theory or empirical research: the central model, estimand, or approach in 3–8 bullet points. This is the intellectual core that future sessions need to understand quickly. Include key equations only if they fit on one line.] ## Active Todos - [ ] [todo inferred from README, notes, git history, or user input] <!-- Add as many as you can infer. Better to have too many than none. --> ## Using Gemini CLI for Large Context Analysis
From pascalamiet/ai-setup, MIT.
More from pascalamiet/ai-setup
- 0.462score
grill-me
pascalamiet
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillCFreshness: C★ 1Claude Code +9 - 0.432score
new-project
custom
Scaffold a new empirical research project with a standard directory structure.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
literature-search
custom
Systematic literature search for academic economics research.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
create-paper
custom
Scaffold a new LaTeX economics paper from a standard template.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
create-slides
custom
Scaffold a new LaTeX Beamer slide deck from a standard template.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
data-viz
custom
Guide for creating publication-quality figures for academic papers and presentations.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
debug
custom
Systematic debugging workflow for any language or environment.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
commit
pascalamiet
Execute git commit with conventional commit message analysis, intelligent staging, and message generation.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
bibtex
custom
Manage, clean, and format BibTeX bibliography files for academic papers.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
empirical-workflow
custom
Scaffold and guide empirical economics projects from data to tables.
SkillDFreshness: D★ 1Claude Code +9 - 0.427score
notebooklm
pascalamiet
Complete API for Google NotebookLM - full programmatic access including features not in the web UI.
SkillDFreshness: D★ 1Claude Code +9 - 0.427score
claude
pascalamiet
Use when you want Claude CLI to handle a reasoning-heavy or coding-heavy task such as algorithm design, difficult debugging, code review, architecture…
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Apr 22, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.2.0
- License
- MIT
- Repository
- github.com/pascalamiet/ai-setup
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from custom
- 0.567score
judgment-day
custom
Trigger: judgment day, dual review, adversarial review.
SkillAFreshness: AClaude Code +9 - 0.561score
linear-issue
custom
Trigger: linear issue, linear ticket, linear task, linear project, linear initiative.
SkillAFreshness: AClaude Code +9 - 0.561score
zenhub-issue
custom
Trigger: zenhub, zenhub epic, zenhub goal, zenhub task, planning issue.
SkillAFreshness: AClaude Code +9 - 0.561score
github-pr
custom
Trigger: PR description, pull request body, open a PR.
SkillAFreshness: AClaude Code +9 - 0.561score
github-issue
custom
Trigger: github issue, bug report, feature request, open an issue.
SkillAFreshness: AClaude Code +9 - 0.561score
md-style-guide
custom
Trigger: producing Markdown, document, report, README, planning file, SDD artifact, issue, PR, or release body.
SkillAFreshness: AClaude Code +9
Cite this page
initialize skill. Agent Mart. https://agentmart.dev/skills/pascalamiet-initialize (last updated 2026-10-24)