agentleFS
0-uddeshya-00-uddeshya-0/agent-skills/skills/setup/skill.md

setup

Skill3 starsChanged 6 months agoMITView on GitHub

Output (terminal):

193 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use add-slack, add-parallel and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    add-slack

    Add Slack channel integration via Chat SDK.

    Also in 6 projects that use this

  • MicrosoftSkill

    add-parallel

    Also in 5 projects that use this

  • sskarzSkill

    add-telegram-swarm

    Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".

    Also in 5 projects that use this

  • +9 more from microsoft

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 171 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run once per project. Creates .agent-context/ — a shared knowledge folder that every other skill reads from.

    line 4
  2. Distinctive:

    After major architectural changes that make the old context stale

    line 9
  3. Very specific:

    Must check for existing .agent-context/ before creating

    line 61
  4. Distinctive:

    Must never overwrite existing files without explicit confirmation

    line 62

“Common” is measured: kept by at least 6 in 10 of the 171 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
skill.md

skill: setup

purpose

Run once per project. Creates .agent-context/ — a shared knowledge folder that every other skill reads from. Without it, skills work in isolation. With it, they share project vocabulary, architecture decisions, and codebase structure.

when_to_use

  • First time using agent-skills in a project
  • Starting work in an unfamiliar codebase
  • After major architectural changes that make the old context stale

when_not_to_use

  • .agent-context/ already exists and is current — just read it, don't overwrite
  • Throwaway scripts or one-off tasks with no ongoing session

input

project_root: string    # Root directory path
entry_points: list      # Known entry files (optional — skill will detect if empty)

output

Creates the following files:

.agent-context/
├── context.md    # Project vocabulary, stack, decisions
└── graph.md      # Dependency map (populated by /code-map)

instructions

You are setting up shared project context. Do the following in order:

1. Check if .agent-context/ already exists. If yes, read it and report what's there. Ask before overwriting.

2. Detect project type from files present:
   - package.json → Node/TypeScript
   - requirements.txt / pyproject.toml → Python
   - go.mod → Go
   - Cargo.toml → Rust
   - Gemfile → Ruby
   - pom.xml / build.gradle → Java/Kotlin
   - Look for main entry points: main.py, index.ts, app.py, server.js, cmd/
   - If none of the above match: classify as "documentation / config repo". Set Tech stack to "Markdown / plain text". Set Entry points to README.md and any index or config files found.

3. Create `.agent-context/context.md` using the exact headings/structure from `.agent-context-template/context.md`:
   - Fill `## Tech stack` and `## Entry points` from detection
   - Keep `## Domain vocabulary` table headers; fill only the cells you are confident about, otherwise leave them blank for the user to complete
   - Leave `## Architecture decisions NOT to re-litigate`, `## Common failure patterns in this codebase`, and `## External services and their quirks` empty (with placeholder bullet/table rows)

4. Run the equivalent of `/code-map` on the project and write results to `.agent-context/graph.md` using the same headings/sections as `.agent-context-template/graph.md`.

5. Print a summary of what was created and what the user should fill in manually.

Do not invent domain vocabulary — leave those rows empty for the user to complete.
Do not make architectural decisions — document what exists, not what should exist.

constraints

  • Max output tokens: 400 (summary only — files are written to disk)
  • Must check for existing .agent-context/ before creating
  • Must never overwrite existing files without explicit confirmation

example

Input:

project_root: "/home/user/myapp"
entry_points: []

Output (terminal):

Created .agent-context/context.md
  ✓ Detected: Python / FastAPI / PostgreSQL
  ✓ Entry points found: main.py, app/routes/
  ⚠ Fill in: domain vocabulary, architectural decisions

Created .agent-context/graph.md
  ✓ 12 files mapped
  ✓ God nodes: app/config.py, app/db.py
  ✓ Clusters: auth, billing, notifications

Next: Open .agent-context/context.md and fill in the vocabulary table.
All other skills will read from these files automatically.

feedback_log

<!-- date | situation | what went wrong | better behavior -->

2026-05-29 | run on agent-skills repo (markdown/JSON, no package.json) | project type detection found no match — fell through with no output | added: documentation/markdown fallback + Ruby/Java/Kotlin detection

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.