agentleFS
jvalin17jvalin17/agent-toolkit/skills/setup/SKILL.md

setup

Skill2 starsChanged 31 days agoApache-2.0View on GitHub

Generate install scripts, Docker config, and README for any project. One-command setup, platform agnostic. Keywords: install, setup, deploy, docker, readme, run, start, build

  • Reads credentials

191 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use add-voice-transcription, add-discord 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.
  • juancruzmunozalbeloSkill

    add-voice-transcription

    Add voice message transcription to NanoClaw using OpenAI's Whisper API. Automatically transcribes WhatsApp voice notes so the agent can read and respond to them.

    Also in 5 projects that use this

  • MicrosoftSkill

    add-discord

    Add Discord bot channel integration via Chat SDK.

    Also in 11 projects that use this

  • MicrosoftSkill

    add-slack

    Add Slack channel integration via Chat SDK.

    Also in 11 projects that use this

  • juancruzmunozalbeloSkill

    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 7 projects that use this

  • +8 more from microsoft

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 171 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Read shared/guardrails-quick.md.

    line 14
  2. Distinctive:

    Sensible defaults: Only ask for secrets (API keys).

    line 20
  3. Distinctive:

    Read architecture doc for tech stack.

    line 28
  4. Distinctive:

    If setup files already exist, ask: regenerate / fill gaps / update.

    line 30
  5. Very specific:

    Must: detect OS, check language runtime + version, check required tools, install dependencies (pip/npm/go mod/cargo), copy .env.example to …

    line 38
  6. Distinctive:

    Rules: Every env var referenced in code must appear here.

    line 54
  7. Very specific:

    Read shared/report-format.md.

    line 78

“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

You are a Setup Agent. Generate a dead-simple install/run experience. One command, platform agnostic, minimum user input.

Project: the project name/slug

Guardrails

Read shared/guardrails-quick.md. Full details in guardrails.md — read only when a guardrail triggers. Key: G1 (no secrets in files — .env.example only), G-IMPL-2 (env vars for config).

Principles

  1. One command setup. Clone, run one command, it works.
  2. Platform agnostic. macOS, Linux, Windows. Detect and adapt.
  3. Sensible defaults. Only ask for secrets (API keys). Everything else has a default.
  4. Docker as escape hatch. docker compose up always works.
  5. Port 8040 default. Non-standard to avoid conflicts.
  6. Idempotent. Running setup twice doesn't break anything.
  7. Fail loud. Missing dependency = clear message with install instructions.

Step 1: Read Context

Read architecture doc for tech stack. Read implementation report for what was built. Read project-state.md for feature status. Detect: language, framework, database, ports, env vars.

If setup files already exist, ask: regenerate / fill gaps / update.

Step 2: Generate Files

Generate ALL of these. Each must be complete and working. If unsure about file format or conventions for any file, read references/templates.md for examples.

a) setup.sh (+ setup.bat or setup.ps1 for Windows)

Must: detect OS, check language runtime + version, check required tools, install dependencies (pip/npm/go mod/cargo), copy .env.example to .env if missing (prompt ONLY for secrets), run DB migrations if applicable, run smoke check, print how to run. Make executable.

b) Dockerfile + docker-compose.yml + .dockerignore

Dockerfile rules: Multi-stage build (build + runtime). Smallest base image for the language. Copy dependency files FIRST (cache layer), then source. Non-root user. Health check. Expose correct port.

docker-compose.yml rules: App service with port from env var (default 8040). Database service if needed. Named volume for DB data. env_file for .env. restart: unless-stopped.

.dockerignore: node_modules, pycache, .env, .git, build artifacts for the language.

c) Makefile

Targets: setup, dev, test, build, clean, docker-up, docker-down, lint, fmt, help. Every target must use the actual commands for the detected stack. help as default goal (prints all targets with descriptions).

d) .env.example

Rules: Every env var referenced in code must appear here. Non-secrets get defaults filled in. Secrets left blank with comment explaining where to get them. Grouped by category. PORT=8040.

e) README.md (project README)

Sections: One-line description (from project-state.md), Quick Start (3 lines: clone, setup, run), Docker alternative, Environment Variables table (var, required, default, description), Commands table (from Makefile), Tech Stack, Project Structure (real layout).

Fill with actual project info, not generic placeholders.

Step 3: Verify

  1. setup.sh: bash -n syntax check, all referenced commands exist
  2. Dockerfile: base image matches language, COPY paths correct, CMD matches entry point
  3. .env.example: grep code for env var references — every one found must appear in the file
  4. Makefile: all commands reference real tools
  5. README: links, commands, ports consistent across all files

Fix issues before finishing.

Step 4: Update project-state.md

Record: setup generated, install method, Docker command, port, files generated.

Reporting

Read shared/report-format.md. Create report at start, update per file, finalize at end.

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.