playbook
Write, review, and debug Ansible content: playbooks, roles, inventories, group_vars/host_vars, Jinja2 templates, collections (requirements.yml, FQCN)…
Skill by nq-rdl
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/nq-rdl-playbook
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: security, writing, 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. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/playbook
What's inside
- Skill name
playbook- Description
- Write, review, and debug Ansible content: playbooks, roles, inventories, group_vars/host_vars, Jinja2 templates, collections (requirements.yml, FQCN), ansible-vault secrets, and ansible-navigator runs. Use when the user mentions Ansible or these files, asks to scaffold a role or fix a failed play, or uses a layered playbook layout (layer1_*, layer2_*). Not for Puppet, Chef, or Salt.
- License
- CC-BY-4.0
- Compatibility
- Requires Python 3.11+, ansible-core 2.16+, ansible-lint 24.0+
- Metadata
- repo: https://github.com/nq-rdl/agent-extensions
- Instructions
- 297 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- role-reference.rst · references/
SKILL.md (first lines)
# Ansible Skill
Write, modify, debug, and optimise Ansible content.
When you create, scaffold, or restructure a role, read
[references/role-reference.rst](references/role-reference.rst) (role layout,
defaults vs vars, meta, handlers, templates). Playbook, inventory, variable,
and single-task work does not need it.
## Dependencies
The user's project should have these installed (via pip, pipx, pixi, or devcontainer):
| Package | Version | Purpose |
|---------|---------|---------|
| `ansible-core` | >= 2.16 | Playbook execution, modules |
| `ansible-lint` | >= 24.0 | Linting playbooks and roles |
| `jmespath` | >= 1.0 | `json_query` filter support |
| `ansible-navigator` | latest | Local execution and testing (optional, often provided by devcontainer) |
```bash
# Lint a playbook or role
ansible-lint playbooks/site.yml
# Syntax check without a live inventory
ansible-playbook --syntax-check playbooks/site.yml -i localhost,
# Install collections from requirements.yml
ansible-galaxy collection install -r requirements.yml
```
## Core Principles
These aren't arbitrary rules — they reflect how the team actually works and what keeps
production stable.
### FQCN Everywhere
Always use fully qualified collection names. Never use short module names. The team uses
`ansible-core` with collections installed via `requirements.yml`, and FQCN prevents ambiguity
and makes collection dependencies explicit.
```yaml
# Correct
- ansible.builtin.dnf:
name: chrony
state: present
# Wrong — never do this
- dnf:
name: chrony
state: present
```
### Lean Role Structure
Only create directories that contain files. An empty `vars/` or `meta/` directory is noise.
A role with only tasks needs only `tasks/`. Grow the structure as the role's needs grow.
A minimal role is just:
```
roles/my_role/
└── tasks/
└── main.yml
```
A role with configuration templates and tuneable defaults expands to:
```
roles/my_role/
├── defaults/
│ └── main.yml
├── handlers/
│ └── main.yml
├── tasks/
│ └── main.yml
└── templates/
└── my_config.j2
```
See [references/role-reference.rst](references/role-reference.rst) for the full pattern.
### Task Splitting by Concern
When a role does more than one logical thing, split tasks into focused files and delegate
from `main.yml`. This keeps diffs reviewable and lets team members reason about changes
in isolation.
```yaml
# roles/vm_configure/tasks/main.yml
---
- name: Configure system packages
ansible.builtin.import_tasks: packages.yml
- name: Configure NTP via chrony
ansible.builtin.import_tasks: chrony.yml
- name: Configure SELinux policies
ansible.builtin.import_tasks: selinux.yml
```
Use `import_tasks` for static inclusion (the default). Use `include_tasks` only when you
need conditional or looped inclusion at runtime.
### Layered Playbook Architecture
Playbooks are organised in numbered layers that run in dependency order, with a `site.yml`
that orchestrates the full stack and a `preflight_checks.yml` gate that validates prerequisites
before any changes.
```
playbooks/
├── site.yml # Orchestrator — imports layers in order
├── preflight_checks.yml # Validation gate — runs first
├── layer1_hypervisor.yml # Physical host / hypervisor setup
├── layer2_vm_config.yml # VM-level OS configuration
└── layer3_application.yml # Application-layer setup (example)
```
New playbooks should follow this layering convention. If a playbook doesn't fit a layer,From nq-rdl/agent-extensions, CC-BY-4.0.
More from nq-rdl/agent-extensions
- 0.570score
record
nq-rdl
Records, supersedes and retrieves architecture decision records (ADRs) in MADR 4.0.0 format.
SkillAFreshness: AClaude Code +9 - 0.570score
manage
nq-rdl
Manage ArgoCD configuration, including applications, projects, repositories, clusters, and RBAC.
SkillAFreshness: AClaude Code +9 - 0.570score
secrets
nq-rdl
Manage .env files and development secrets using the Bitwarden personal Password Manager CLI (bw).
SkillAFreshness: AClaude Code +9 - 0.570score
build
nq-rdl
Build terminal user interfaces with the Go Charm ecosystem (Bubbletea v2, Bubbles v2, Lip Gloss v2, Fang v2).
SkillAFreshness: AClaude Code +9 - 0.570score
agent-teams
nq-rdl
Design and run Claude Code agent teams: parallel teammates with a shared task list who message and challenge each other.
SkillAFreshness: AClaude Code +9 - 0.570score
discover-plugins
nq-rdl
Recommend Claude Code plugins for a repository from the team's tracked marketplaces.
SkillAFreshness: AClaude Code +9 - 0.570score
hook
nq-rdl
Create, debug, and audit Claude Code hooks in settings.json, plugins, or skill frontmatter.
SkillAFreshness: AClaude Code +9 - 0.570score
skill-audit
nq-rdl
Audit a skill for non-inferable value.
SkillAFreshness: AClaude Code +9 - 0.570score
skill-report-issue
nq-rdl
Report a defect in an installed skill to the skill's upstream GitHub repository.
SkillAFreshness: AClaude Code +9 - 0.567score
skill-review
nq-rdl
Review skills changed during a development session for actionable bugs and improvements.
SkillAFreshness: AClaude Code +9 - 0.566score
agent-create
nq-rdl
Create or import a delegatable workflow into this agent-extensions catalog.
SkillAFreshness: AClaude Code +9 - 0.565score
create-workflow
nq-rdl
Create, save, and reuse Claude Code dynamic workflows — JavaScript orchestration scripts that Claude writes and a runtime executes to fan out to many…
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 15
- Last commit (this folder)
- Sep 29, 2026 (1 month ago)
- Last release
- Oct 16, 2026 (13 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- CC-BY-4.0
- Repository
- github.com/nq-rdl/agent-extensions
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from nq-rdl
- 0.570score
manage
nq-rdl
Manage ArgoCD configuration, including applications, projects, repositories, clusters, and RBAC.
SkillAFreshness: AClaude Code +9 - 0.570score
secrets
nq-rdl
Manage .env files and development secrets using the Bitwarden personal Password Manager CLI (bw).
SkillAFreshness: AClaude Code +9 - 0.570score
build
nq-rdl
Build terminal user interfaces with the Go Charm ecosystem (Bubbletea v2, Bubbles v2, Lip Gloss v2, Fang v2).
SkillAFreshness: AClaude Code +9 - 0.570score
agent-teams
nq-rdl
Design and run Claude Code agent teams: parallel teammates with a shared task list who message and challenge each other.
SkillAFreshness: AClaude Code +9 - 0.570score
discover-plugins
nq-rdl
Recommend Claude Code plugins for a repository from the team's tracked marketplaces.
SkillAFreshness: AClaude Code +9 - 0.570score
hook
nq-rdl
Create, debug, and audit Claude Code hooks in settings.json, plugins, or skill frontmatter.
SkillAFreshness: AClaude Code +9
Cite this page
playbook skill. Agent Mart. https://agentmart.dev/skills/nq-rdl-playbook (last updated 2026-10-24)