alignfirst-setup-guide
Install, upgrade, recommend, or combine the AlignFirst CLI, skills, docmap, and workspace in a consumer repository, or through a companion directory that…
Skill by Paleo
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/paleo-alignfirst-setup-guide
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: 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 and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/alignfirst-setup-guide/etc/authelia/users.yml/var/lib/authelia/db.sqlite3/var/lib/authelia/notification.txt~/projects
What's inside
- Skill name
alignfirst-setup-guide- Description
- Install, upgrade, recommend, or combine the AlignFirst CLI, skills, docmap, and workspace in a consumer repository, or through a companion directory that leaves the repository untouched; set up AlignDev (`aligndev`), either as a repository and a Linux deployment for OpenClaw, or as a global skill that makes a coding agent the AlignFirst assistant.
- License
- CC0-1.0
- Metadata
- author: Paleo · version: 0.52.2 · repository: https://github.com/paleo/alignfirst
- Instructions
- 152 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Instructions read files in your home folder (~/.ssh, ~/.aws…)
Files (91)
- SKILL.md
- .alignfirst.json · assets/aligndev-openclaw-template/base/
- .gitignore · assets/aligndev-openclaw-template/base/
- AGENTS.md · assets/aligndev-openclaw-template/base/
- DEVELOPERS.md · assets/aligndev-openclaw-template/base/
- README.md · assets/aligndev-openclaw-template/base/
- configuration.md · assets/aligndev-openclaw-template/base/docs/
- gotchas.md · assets/aligndev-openclaw-template/base/docs/
- 01-server-setup.md · assets/aligndev-openclaw-template/base/docs/installations/
- 02-admin-repository.md · assets/aligndev-openclaw-template/base/docs/installations/
- 03-toolchain.md · assets/aligndev-openclaw-template/base/docs/installations/
- 04-openclaw.md · assets/aligndev-openclaw-template/base/docs/installations/
- 05-openclaw-dependencies.md · assets/aligndev-openclaw-template/base/docs/installations/
- 06-security-hardening.md · assets/aligndev-openclaw-template/base/docs/installations/
- add-project.md · assets/aligndev-openclaw-template/base/docs/operations/
- configure-assistant.md · assets/aligndev-openclaw-template/base/docs/operations/
- recover-assistant.md · assets/aligndev-openclaw-template/base/docs/operations/
- update-assistant.md · assets/aligndev-openclaw-template/base/docs/operations/
- update-workspace.md · assets/aligndev-openclaw-template/base/docs/operations/
- overview.md · assets/aligndev-openclaw-template/base/docs/
- troubleshooting.md · assets/aligndev-openclaw-template/base/docs/
- .env.example · assets/aligndev-openclaw-template/base/infra/openclaw/
- .gitignore · assets/aligndev-openclaw-template/base/infra/openclaw/
- playwright-chromium · assets/aligndev-openclaw-template/base/infra/openclaw/apparmor/
- apply-heartbeat-scratch.sh · assets/aligndev-openclaw-template/base/infra/openclaw/bin/
- apply-workspace.sh · assets/aligndev-openclaw-template/base/infra/openclaw/bin/
- assistant-kill.sh · assets/aligndev-openclaw-template/base/infra/openclaw/bin/
- assistant-maintenance.sh · assets/aligndev-openclaw-template/base/infra/openclaw/bin/
- backup.sh · assets/aligndev-openclaw-template/base/infra/openclaw/bin/
- bootstrap-backup.sh · assets/aligndev-openclaw-template/base/infra/openclaw/bin/
- openclaw · assets/aligndev-openclaw-template/base/infra/openclaw/bin/
- deployment-policy.mjs · assets/aligndev-openclaw-template/base/infra/openclaw/
- deployment-profiles.mjs · assets/aligndev-openclaw-template/base/infra/openclaw/
- common.conf · assets/aligndev-openclaw-template/base/infra/openclaw/environment.d/
- heartbeat-scratch.md · assets/aligndev-openclaw-template/base/infra/openclaw/
- admin-npm · assets/aligndev-openclaw-template/base/infra/openclaw/node-runtime/
- check-project-runtimes.sh · assets/aligndev-openclaw-template/base/infra/openclaw/node-runtime/
- gateway-path.conf · assets/aligndev-openclaw-template/base/infra/openclaw/node-runtime/
- init.bash · assets/aligndev-openclaw-template/base/infra/openclaw/node-runtime/
- install-pi-launcher.sh · assets/aligndev-openclaw-template/base/infra/openclaw/node-runtime/
- pi-launcher.mjs · assets/aligndev-openclaw-template/base/infra/openclaw/node-runtime/
- project-shell · assets/aligndev-openclaw-template/base/infra/openclaw/node-runtime/
- .alignfirst-projects.json · assets/aligndev-openclaw-template/base/infra/openclaw/projects/
- seed.sh · assets/aligndev-openclaw-template/base/infra/openclaw/
- common.sh · assets/aligndev-openclaw-template/base/infra/openclaw/seed/
- IDENTITY.md · assets/aligndev-openclaw-template/base/infra/openclaw/workspace/
- SOUL.md · assets/aligndev-openclaw-template/base/infra/openclaw/workspace/
- USER.md · assets/aligndev-openclaw-template/base/infra/openclaw/workspace/
- package.json · assets/aligndev-openclaw-template/base/
- workspace.mjs · assets/aligndev-openclaw-template/base/scripts/workspace/
- CLAUDE.md · assets/aligndev-openclaw-template/variants/coding-agents/claude-code/
- 08-coding-agent.md · assets/aligndev-openclaw-template/variants/coding-agents/claude-code/docs/installations/
- aligndev.settings.json · assets/aligndev-openclaw-template/variants/coding-agents/claude-code/infra/openclaw/
- CLAUDE.md · assets/aligndev-openclaw-template/variants/coding-agents/claude-code/infra/openclaw/coding-agent/
- coding-agent.sh · assets/aligndev-openclaw-template/variants/coding-agents/claude-code/infra/openclaw/seed/
- 08-coding-agent.md · assets/aligndev-openclaw-template/variants/coding-agents/codex/docs/installations/
- aligndev.settings.json · assets/aligndev-openclaw-template/variants/coding-agents/codex/infra/openclaw/
- AGENTS.md · assets/aligndev-openclaw-template/variants/coding-agents/codex/infra/openclaw/coding-agent/
- coding-agent.sh · assets/aligndev-openclaw-template/variants/coding-agents/codex/infra/openclaw/seed/
- 08-coding-agent.md · assets/aligndev-openclaw-template/variants/coding-agents/pi/docs/installations/
- …and 31 more
SKILL.md (first lines)
# AlignFirst Setup Guide ## Check freshness first Before investigation, recommendations or setup, fetch the upstream skill read-only: ```sh curl --fail --silent --show-error --location --max-time 20 --range 0-1023 \ https://raw.githubusercontent.com/paleo/alignfirst/refs/heads/main/skills/alignfirst-setup-guide/SKILL.md \ | sed -n '1,/^---$/p' ``` It prints only the upstream frontmatter. Compare its `metadata.version` with this loaded skill's `metadata.version` using semantic version ordering, not string ordering. - **Upstream is newer:** stop and suggest `npx skills update -g`. Explain that it updates all global skills. Do not run it. Ask the user to restart or reload the agent after updating so it reads the new instructions. - **Fetch fails or either version is missing or invalid:** stop and report that freshness could not be verified. Proceed only with explicit user approval. Never use `npx skills check` for this gate; it aliases `update` and can install updates. Maintainers must bump `metadata.version` whenever this skill, its references or its assets change. ## Routing Route by the user's intent. Inspect the repository and load the relevant references before changes. Protocols, skills, Docmap and workspaces can each be adopted independently. Require a clean working tree immediately before project mutations; read-only discovery needs no clean-tree gate. ## Named tool Install or upgrade only what the user requested. Do not add unrelated tools or present the full menu. - **CLI, protocols or skills:** [alignfirst-skills-setup.md](references/alignfirst-skills-setup.md). Skills invoke the CLI without a separate installation. Existing v1/v2/v3 skills or old home layouts first use [alignfirst-upgrade.md](references/alignfirst-upgrade.md). - **Work-files repository:** [plans-setup.md](references/plans-setup.md). - **Docmap:** [docmap-setup.md](references/docmap-setup.md). For docs adoption, follow its bootstrapping/migration references when relevant. - **Workspace, any stack:** [workspace-setup.md](references/workspace-setup.md). Node, Python, Rust and monorepos use the same `alignfirst workspace`/`alignfirst dev` CLI. No project wrapper or local kernel dependency is needed. Never recommend reimplementing the kernel for another language. - **Retired `.alignfirst.json`, workspace wrappers or old runtime registries:** [clean-break upgrade runbook](references/upgrading-multi-stack-workspaces.md). Account for all resources and worktrees before conversion. - **AlignDev:** ask whether it serves an OpenClaw assistant or a coding agent. OpenClaw uses [aligndev-openclaw.md](references/aligndev-openclaw.md); a coding-agent assistant uses [coding-agent-assistant.md](references/coding-agent-assistant.md). ## Tooling recommendation When asked what to adopt, inspect repository evidence and available skills. Present global skills separately from project tooling. Let the user choose any subset before installation. Global choices are `aligndev` (assistant playbook), `alignfirst` (protocol recognition), `paseo-alignfirst-workspace` (Paseo lifecycle), and command shortcuts `alspec`, `alplan`, `al`, `almerge`, `alreview`, `aldescription`, `alcatchup`, `alcatchupaad`, `alcatchupspec`. Command skills retain `disable-model-invocation: true`. Humans use `/name` in Claude/Copilot/Cursor, `$name` in Codex and `/skill:name` in Pi. The protocol-recognition skill is unnecessary when canonical project context instructions already supply it. A missing name in the session's skill list means unavailable here, not absent on disk. If the host exposes no list, availability is unknown. This check needs no filesystem scan or installer. Install globally only with approval, using the selected reference's current command. A skill alone supplies no executable Pi tools. Preserve duplicate-tool audits and native trust/permission policies. Recommend protocols and Docmap regardless of language. Workspace isolation is also language-neutral; preserve existing project commands by expressing them in the selected configuration's workspace recipe. An absent manifest supplies protocol-ready defaults. Detect existing tooling and propose conversion rather than running incompatible old wrappers against new registries. Determine whether a separate work-files repository already exists before offering one. ## Paseo setup When the user uses Paseo, recommend installing `paseo-alignfirst-workspace` globally with approval: ```sh npx -y skills add https://github.com/paleo/alignfirst --global --yes --skill paseo-alignfirst-workspace </dev/null ``` Add `--agent <host>` to target the user's coding host. Recommend adding this line to the system prompt in Paseo settings: ```text You are running inside Paseo. ``` Read the skill before creating/removing actual workspaces and preserve archive-before-removal. ## Project instructions - Protocol adoption uses the canonical `alignfirst context` bootstrap from [skills setup](references/alignfirst-skills-setup.md#project-instructions), replacing redundant Docmap discovery prose while preserving essential-documentation lists and project-specific rules. - Docmap-only adoption uses its own discovery snippet. - Workspace-only adoption uses [workspace instructions](references/workspace-setup.md#agent-instructions). Global skills do not opt every repository into protocols. Workspace and Docmap adoption alone do not opt it into protocols either. ## A repository that must stay untouched Use [companion-setup.md](references/companion-setup.md). Protocols and Docmap can keep all selected files outside the repository. A registration's `defaultLocation: "companion"` can also select the complete recipe and external runtime. This creates no checkout runtime directory/link or runtime ignore rule. Placement is not a write sandbox: project commands, shared directories, application outputs and Git operations retain their writes. Obtain approval for those effects. ## Prepare a project for an assistant An assistant coordinates the conversation and delegates coding to the coding **agent** through AlignDev. Prepare these facts before normal ticket/coding effects: 1. Canonical context bootstrap as the first `##` section of `AGENTS.md` or `CLAUDE.md`, after title/introduction. `alignfirst.json` or `alignfirst.jsonc` with `schemaVersion: 1` is required for an assistant-managed project and optional otherwise. Companion-only projects place selected instructions/settings outside the repository. 2. Usable effective plans, untracked by the product repository. A separate work-files repository may track them. Use the separately authorized `aligndev guide work-files-setup` for missing/project-tracked plans, before ticket reservation, request capture or coding effects. Preserve old history without unsolicited copying. 3. Docmap and meaningful project docs. When `docs/` is absent and documentation is part of preparation, follow [docmap-bootstrapping.md](references/docmap-bootstrapping.md). 4. A unified workspace route through `alignfirst workspace`. The optional recipe in the selected merged configuration declares project commands; without `workspace`/`devServer`, setup is protocol-ready and performs no install/build/start. Prepare effective plans and selected runtime storage first; only project runtime requires ignored/untracked `.local-wt/`. Document separate stack commands when defaults are used. 5. Confirmed runtime requirements. Node projects declare their version through `.nvmrc`, `.node-version` or `engines.node`; ask when none exists. Python and other runtimes retain their documented tools. Running the CLI through Node/Bun does not change project commands. 6. A project-specific developer guide, commonly `DEVELOPERS.md` or `README.md`, with its relative path explicitly recorded as `developerInstructions`. Use `alignfirst developer-instructions` to read conventions and configured content, and nullable `locations.developerInstructions` to locate edits. Without a reference there is no filename fallback. Include confirmed commands, architecture, documentation map, workflow and verification. Include the workspace guide pointer and its actual readiness boundary, public URLs when services exist, and external ownership rules. 7. `aligndev project doctor --root <projects-directory>` passes after settings/manifest creation and before workspace setup. A range belongs solely in `devServer.ports`; use `project free-ports` as a lookup when the inventory owns an enclosing range. Assistant preparation skips command-skill installation and global bootstrap changes unless separately requested. Companion-only preparation follows its authorization and location checks. Native coding-agent permissions are unchanged; report protected-path refusals rather than bypassing them. ## Create or operate an OpenClaw assistant Read [aligndev-openclaw.md](references/aligndev-openclaw.md), including its deployment gate, before rendering/upgrading. The generated private admin repository owns installation/operations runbooks. Do not load deployment procedures for ordinary project tooling. The three overlays use named profiles and inventoried native stores. Pi retains its approved writable `auth.json` exception; other managed resources remain maintenance-protected. Offline template checks do not certify deployment, OS hardening, authentication or conversation behavior. Do not perform live/admin operations without separate authorization. ## A coding agent as the assistant For Claude Code, Codex or a persistent Pi session on one project, read [coding-agent-assistant.md](references/coding-agent-assistant.md). Pi uses `/skill:aligndev` and separately installed executable capabilities; installing a skill alone provides none. OpenClaw remains the persistent parent for its deployment route. ## Investigation rules Detect the package manager from `packageManager`, then root lockfiles, falling back to npm. Translate application commands to the confirmed toolchain. CLI forms remain `npx -y alignfirst` for Node and `bunx --bun alignfirst` for explicit Bun; project scripts are optional conveniences. Detect protocols through context/bootstrap/configuration, work files through effective `.plans`/`plans.repositoryFolder`, Docmap through commands/docs, and workspaces through manifests, commands or documented old tooling. Legacy package scopes and wrappers are upgrade evidence, not instructions to preserve the old kernel. Consult the runbook before changing formats or retiring state. No global installation, live registry mutation or external repository edit is implied by recommendation or rendering.
From paleo/alignfirst, CC0-1.0.
More from paleo/alignfirst
- 0.669score
sharp-writing
Paleo
Conventions for writing sharp, concise prose and Markdown, for human readers and AI agents.
SkillAFreshness: A★ 86Claude Code +9 - 0.669score
top-down-typescript
Paleo
TypeScript and JavaScript coding style conventions, centered on top-down narrative ordering (caller first, helpers below) and functions over classes.
SkillAFreshness: A★ 86Claude Code +9 - 0.667score
alignfirst
Paleo
Collaborative problem-solving protocols.
SkillAFreshness: A★ 86Claude Code +9 - 0.664score
alcatchup
Paleo
Catch up with the current AlignFirst task: load its history, then continue with the user's instructions or summarize it.
SkillAFreshness: A★ 86Claude Code +9 - 0.661score
alcatchupspec
Paleo
Load the current AlignFirst task history, then execute the specification protocol.
SkillAFreshness: A★ 86Claude Code +9 - 0.661score
alcatchupaad
Paleo
Load the current AlignFirst task history, then execute the AAD protocol.
SkillAFreshness: A★ 86Claude Code +9 - 0.636score
aligndev
Paleo
Act as the AlignFirst assistant: delegate the work on this project to agent sessions through aligndev.
SkillAFreshness: A★ 86Claude Code +9 - 0.633score
alspec
Paleo
Execute the AlignFirst specification protocol.
SkillAFreshness: A★ 86Claude Code +9 - 0.633score
almerge
Paleo
Execute the AlignFirst merge protocol.
SkillAFreshness: A★ 86Claude Code +9 - 0.633score
alplan
Paleo
Execute the AlignFirst planning protocol.
SkillAFreshness: A★ 86Claude Code +9 - 0.633score
al
Paleo
Execute the AlignFirst AAD protocol.
SkillAFreshness: A★ 86Claude Code +9 - 0.633score
aldescription
Paleo
Execute the AlignFirst description protocol.
SkillAFreshness: A★ 86Claude Code +9
Signals
- Stars
- 86
- Forks
- 8
- Open issues
- 0
- Last commit (this folder)
- Oct 23, 2026 (6 days ago)
- Last release
- Oct 23, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 0.52.2
- License
- CC0-1.0
- Repository
- github.com/paleo/alignfirst
- Website
- alignfirst.paroi.tech
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Paleo
- 0.669score
top-down-typescript
Paleo
TypeScript and JavaScript coding style conventions, centered on top-down narrative ordering (caller first, helpers below) and functions over classes.
SkillAFreshness: A★ 86Claude Code +9 - 0.669score
sharp-writing
Paleo
Conventions for writing sharp, concise prose and Markdown, for human readers and AI agents.
SkillAFreshness: A★ 86Claude Code +9 - 0.667score
alignfirst
Paleo
Collaborative problem-solving protocols.
SkillAFreshness: A★ 86Claude Code +9 - 0.664score
alcatchup
Paleo
Catch up with the current AlignFirst task: load its history, then continue with the user's instructions or summarize it.
SkillAFreshness: A★ 86Claude Code +9 - 0.661score
alcatchupaad
Paleo
Load the current AlignFirst task history, then execute the AAD protocol.
SkillAFreshness: A★ 86Claude Code +9 - 0.661score
alcatchupspec
Paleo
Load the current AlignFirst task history, then execute the specification protocol.
SkillAFreshness: A★ 86Claude Code +9
Cite this page
alignfirst-setup-guide skill. Agent Mart. https://agentmart.dev/skills/paleo-alignfirst-setup-guide (last updated 2026-10-24)