new-app
Ce qu’il fait
Ce guide crée un nouveau projet Atomic Agents avec ses fichiers de paquet, un premier agent et ses schémas, ainsi qu'un fichier principal exécutable. Il s'adresse aux développeurs qui démarrent un nouveau projet d'agents en Python.
Quand l’utiliser
- ✓Quand un développeur veut démarrer un nouveau projet Atomic Agents à partir de zéro.
- ✓Quand un développeur veut un agent de départ fonctionnel sur lequel construire.
- ✓Quand un développeur veut une structure de projet choisie pour lui avec uv ou pip.
Lien du skill
https://github.com/Eigenwise/atomic-agents/blob/main/claude-plugin/atomic-agents/skills/new-app/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Démarrez un nouveau projet Atomic Agents appelé support-bot avec OpenAI, et assurez-vous qu'il fonctionne.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
Le skill pose quelques questions sur le nom, le fournisseur, le type d'agent et les outils, confirme le plan, puis crée le projet avec un agent, des schémas et un point d'entrée.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
New Atomic Agents Project
Scaffold a fresh Atomic Agents project. The result is a single-package Python project with one working agent, one schema pair, a provider-wrapped client, and a runnable main.py.
This skill is opinionated. Produce a complete, tested skeleton the user can run immediately.
Phase 1 — Interrogate
Ask these questions in one message, not one-at-a-time. Skip any the user already answered (including via $ARGUMENTS).
- Project name — used as both directory name and package name. Default from
$ARGUMENTSif provided. Normalize tokebab-casefor the directory andsnake_casefor the package. - LLM provider — OpenAI / Anthropic / Groq / Ollama / Gemini / OpenRouter / MiniMax. Default: OpenAI.
- Agent type — a rough one-liner. Shapes the default
SystemPromptGeneratorcontent and the starter schema pair. Defaults to a generic chat agent. - Tooling —
uv(default, because the repo uses uv) orpip + venv.
Do not ask about project layout, Python version, or dependency list. Pick them.
Phase 2 — Confirm the plan
State the plan in one short block and wait for a yes. Include:
- Directory:
<project-name>/ - Package:
<project_name>/ - Python:
>=3.12(Atomic Agents uses PEP 695 generics) - Dependencies:
atomic-agents>=2.7,instructor[<provider-extra>]>=1.14,python-dotenv,rich - Dev dependencies:
pytest,pytest-asyncio,ruff - First agent:
<agent-type>— usesBasicChatInputSchema/BasicChatOutputSchemaunless the agent type calls for custom schemas - Default model for the chosen provider (see
framework/references/providers.md) - Entry point:
main.pywith a REPL
Phase 3 — Scaffold
Create files in this order. Verify each step before proceeding.
Directory and package
<project-name>/
├── pyproject.toml
├── .env.example
├── .gitignore
├── README.md
├── AGENTS.md
├── CLAUDE.md
└── <project_name>/
├── __init__.py
└── main.py
pyproject.toml
Use the template from framework/references/project-structure.md, substituting the chosen provider extra and project name.
.env.example
Include the provider's API-key variable with a placeholder. Never the real key.
.gitignore
Use the template from framework/references/project-structure.md.
<project_name>/main.py
Produce a runnable REPL. Load .env, instantiate the provider client per framework/references/providers.md, build an agent, wire a ChatHistory with a seed assistant message, loop on console.input(...).
For the agent itself, follow the workflow from the atomic-agents:create-atomic-agent skill — same canonical imports, same per-provider mode matrix, same SystemPromptGenerator shape.
When a custom agent type was requested, build custom InputSchema / OutputSchema subclasses with field description= populated, following the atomic-agents:create-atomic-schema skill. Otherwise use BasicChatInputSchema / BasicChatOutputSchema.
Always use the canonical imports:
from atomic_agents import (
AtomicAgent, AgentConfig,
BasicChatInputSchema, BasicChatOutputSchema,
)
from atomic_agents.context import ChatHistory, SystemPromptGenerator
from instructor import Mode
Per-provider AgentConfig knobs — match the Instructor factory mode on AgentConfig.mode:
- OpenAI: defaults work. Omit
mode(or setMode.TOOLS). - Anthropic:
mode=Mode.TOOLS; includemax_tokensinmodel_api_parameters. - Groq / Ollama / MiniMax:
mode=Mode.JSON(Instructor factory also usesMode.JSON). - Gemini:
assistant_role="model"andmode=Mode.GENAI_TOOLS(Instructor factory usesMode.GENAI_TOOLS). - OpenRouter:
mode=Mode.TOOLS.
README.md
Short. Include: what the project is, how to install (uv sync or pip install -e .[dev]), how to set the API key (cp .env.example .env and edit), how to run (uv run python -m <project_name>.main or equivalent).
AGENTS.md and CLAUDE.md
Every scaffolded project ships agent instructions so any coding assistant (Cursor, Codex, Copilot, Gemini CLI, ...) knows the framework conventions from the first commit. CLAUDE.md contains exactly one line — @AGENTS.md — so Claude Code reads the same file without duplication.
AGENTS.md template (substitute project specifics):
# <Project Name>
<One-line description from the agent-type answer.>
Built with [Atomic Agents](https://github.com/eigenwise/atomic-agents) — a schema-driven
framewor
Questions fréquentes
Quelle version de Python faut-il ?
Le skill indique Python 3.12 ou plus récent, car le framework utilise une syntaxe générique récente.
Quels fournisseurs d'IA peut-il configurer ?
Il peut configurer OpenAI, Anthropic, Groq, Ollama, Gemini, OpenRouter ou MiniMax.
Faut-il un gestionnaire de paquets précis ?
Le skill utilise uv par défaut, avec pip et venv comme autre option.
Détails
Description originale de l’auteur
Scaffold a new Atomic Agents project from scratch — create the directory, `pyproject.toml`, env file, first agent, and a runnable entry point. Use when the user asks to start a new atomic-agents project from scratch, says "scaffold" / "new project" / "start from zero", or runs `/atomic-agents:new-app`.
repo: Eigenwise/atomic-agents
Popularité
- Étoiles GitHub
- 6.3k
- Position au classement
- #14242
- Licence
- MIT
- Mis à jour
- 29/10/2026
Commentaires
- …
Autres skills de ce dépôt
create-atomic-agent
6.3kAide votre agent à construire un nouvel agent Atomic Agents avec une entrée et une sortie typées, une invite système et le fournisseur d'IA choisi.
create-atomic-context-provider
6.3kAide votre agent à ajouter un fournisseur de contexte à un agent Atomic Agents, pour que des informations récentes, comme l'heure ou des documents retrouvés, apparaissent dans son invite.
create-atomic-schema
6.3kAide votre agent à concevoir des schémas d'entrée et de sortie typés pour les agents et les outils Atomic Agents, avec des descriptions de champs claires.
create-atomic-tool
6.3kAide votre agent à construire un outil typé pour une application Atomic Agents, comme un wrapper d'API ou une calculatrice que l'agent peut appeler.
Skills similaires
diffs
394kPermet à votre agent de produire un diff réel et partageable de vos modifications, sous forme de lien ou d'image, plutôt qu'un résumé écrit à la main.
coding-agent
394kAide votre agent à confier une tâche de programmation plus importante à Codex, Claude Code ou OpenCode comme travailleur en arrière-plan, puis à suivre sa progression.
gh-issues
394kAide votre agent à trouver des tickets GitHub, choisir ceux à traiter et ouvrir des pull requests avec des correctifs, y compris le suivi des commentaires de relecture.