一键导入
alexis-agents-infra
Shared agent infrastructure repo for Claude Code and Codex CLI. Use when updating global agent instructions, skills, symlink setup, tool configs, rules, or the generic agents attachments manifest contract and helper tooling.
菜单
Shared agent infrastructure repo for Claude Code and Codex CLI. Use when updating global agent instructions, skills, symlink setup, tool configs, rules, or the generic agents attachments manifest contract and helper tooling.
Render Markdown and HTML documents to PDF using pandoc plus WeasyPrint with shared themes and a reproducible CLI workflow. Use when creating research papers, one-pagers, printable reports, or any artifact that should end up as a PDF.
Guide for creating effective skills. Use when users want to create a new skill (or update an existing skill) that extends the agent's capabilities with specialized knowledge, workflows, or tool integrations. Also use when setting up, installing, or configuring skill installation (setup.sh, symlinks, copy to .agents). Triggers: create skill, new skill, skill setup, setup skill, install skill, настроить скил, создать скил, сетап скила, установить скил, скил креатор.
| name | alexis-agents-infra |
| description | Shared agent infrastructure repo for Claude Code and Codex CLI. Use when updating global agent instructions, skills, symlink setup, tool configs, rules, or the generic agents attachments manifest contract and helper tooling. |
| triggers | ["alexis-agents-infra","agents infra","agent infrastructure","shared agent config","global agent instructions","codex config","claude settings","setup symlinks","agents attachments manifest","attachments manifest","агентская инфра","конфиг агентов","настройки codex","настройки claude"] |
Source repo for the shared agent infrastructure that installs into ~/.agents, ~/.claude, and ~/.codex.
Do not edit ~/.agents directly when changing shared instructions, configs, or skills.
Work in the source repo, then run agents-infra setup global or ./setup.sh
to sync the installed runtime copy.
Use this repo when you need to:
.instructions/.skills/.configs/tools/agents-infra/.scripts/setup-symlinks.sh, scripts/setup.sh, scripts/setup.ps1, or setup.shagents-infra setup global|local to sync and refresh installed linksagents-attachments-manifest.json contract and helper toolingcd /path/to/alexis-agents-infra
./setup.sh
.\\setup.ps1
# Canonical interface after bootstrap
agents-infra setup global
agents-infra setup local /path/to/project
agents-infra doctor global
agents-infra doctor local /path/to/project
agents-infra version
This repo is setup/configuration infrastructure, not the runtime that launches agent sessions.
~/.agents is the installed destination, not the place to author shared changes.
./setup.sh and .\setup.ps1 are bootstrap wrappers: they delegate into the
cross-platform scripts under scripts/, build the agents-infra binary with
embedded version metadata, install it into the user-local bin dir, write
install-state metadata, and then immediately run agents-infra setup global.
For project-local setup, install into the target repo so that:
.agents/ holds the actual installed runtime contents.claude/ and .codex/ are just thin shims/symlinks into .agents.local/bin/ exposes helper CLIs for that local setup, including agents-infraKeep local agent runtime setup separate from Codex model/reasoning config.
Default project-local setup should not create .codex/config.toml:
agents-infra setup local /path/to/project
# same as:
agents-infra setup local /path/to/project --codex-config=preserve
Use the explicit modes when the user asks about Codex config/model drift:
# Remove any project-local Codex config so ~/.codex/config.toml is authoritative.
agents-infra setup local /path/to/project --codex-config=global
# Intentionally make Codex model/reasoning settings project-local.
agents-infra setup local /path/to/project --codex-config=local
Mode semantics:
preserve (default) preserves custom .codex/config.toml files, but removes the old managed symlink .codex/config.toml -> .agents/.configs/codex-config.toml.global removes .codex/config.toml; use this when a local config unintentionally shadows the global model/settings.local links .codex/config.toml to .agents/.configs/codex-config.toml; use only when project-local model/reasoning config is intentional.Diagnose effective state with:
agents-infra doctor local /path/to/project
Key fields:
codex_config_effective: global means Codex uses the global ~/.codex/config.toml.codex_config_effective: project-local means .codex/config.toml is active for that project.codex_config_shadowing_global: true means project-local config overrides the global config; remove it with --codex-config=global if unintended.codex_config_linked: true means the project-local config is the managed agents-infra symlink, not a custom file.Incoming user files are modeled as a generic manifest, not as board-specific state.
agents-attachments-manifest.jsonAGENTS_ATTACHMENTS_MANIFEST.temp/agents-attachments-manifest.jsonagents-attachmentsagents-attachments materializeRuntime responsibilities:
agents-attachments-manifest.jsonAGENTS_ATTACHMENTS_MANIFESTThis repo's responsibilities:
.instructions/INSTRUCTIONS_ATTACHMENTS.md.scripts/agents-attachments.scripts/setup-symlinks.sh.instructions/ — global instruction modules.configs/ — Codex/Claude config files.rules/ — Codex rules.scripts/ — setup and helper tooling.skills/ — source-managed shared skills versioned in this reposkills/ — external skills/tooling area in installed runtimes; not versioned by this repo