Runs and writes tests (sanity, unit, integration) for the community.postgresql Ansible collection using ansible-test.

Custom licenceAuto-check passedDevOps & Cloud

Install Run Tests

skills CLI
$ npx skills add ansible-collections/community.postgresql --skill run-tests -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ansible-collections/community.postgresql run-tests --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ansible-collections/community.postgresql.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/run-tests .claude/skills/run-tests && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
run-tests
GitHub stars
144
Token cost
~1k tokens
SKILL.md length
301 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
Custom licence

At a glance

Runs and writes tests (sanity, unit, integration) for the community.postgresql Ansible collection using ansible-test.

  • Works in 4 steps: Call the module under test → register:… → Assert on result using… → Verify the resulting database state by… → …
  • Write tests for a module
  • SKILL.md covers Purpose, When to Invoke, Test Infrastructure and Test Commands, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Run Tests is an agent skill from ansible-collections/community.postgresql. Runs and writes tests (sanity, unit, integration) for the community.postgresql Ansible collection using ansible-test. Use when asked to run, check, or write tests for a module or utility. Do not use for PR reviews or questions unrelated to testing.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering Infrastructure as code, Test generation and Pull requests. It works with Ansible, PostgreSQL and Docker. The repository describes itself as: Manage PostgreSQL with Ansible.

When your agent uses it

  • Write tests for a module
  • Questions unrelated to testing

Example prompts

  • “/run-tests”

Requirements

  • Docker

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Call the module under test → register: result
  2. Assert on result using ansible.builtin.assert
  3. Verify the resulting database state by querying via community.postgresql.postgresql_query → register: result → ansible.builtin.assert
  4. This must be done in check_mode: true as well

What it can do on your machine

Read from SKILL.md and the folder at commit 877fc0d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and yaml).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Run Tests loads about 1k tokens when it runs. Until then it costs about 65 tokens; SKILL.md has 301 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~65
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 301 words (~1,014 tokens).

“Run and write tests for the community.postgresql Ansible collection. Covers sanity, unit, and integration tests using ansible-test.”

— opening of SKILL.md by ansible-collections, Custom licence
name
run-tests

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/run-tests of ansible-collections/community.postgresql.

Open the folder on GitHubat commit 877fc0d

Compare with similar skills

Run Tests next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Run Tests compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Run Tests this skillansible-collections/community.postgresql144—~1kAutomated safety check: PassCustom licence
Run Testsansible-collections/ansible.mysql134—~1.2kAutomated safety check: PassCustom licence
Cb Build TestBlkLeg/CircuitBreaker201—~1.9kAutomated safety check: PassMIT
Setup Proverboundless-xyz/boundless193—~4.1kAutomated safety check: WarnApache-2.0
Django Deployment Test Loophashgraph-online/awesome-codex-plugins1.3k—~851Automated safety check: PassMIT
Integration Tests for pRESTprest/prest4.6k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Run Tests

    ansible-collections/ansible.mysql

    Runs and writes tests (sanity, unit, integration) for the ansible.mysql Ansible collection using ansible-test.

    134 GitHub stars~1.2k tokensUpdated 4 days ago
    DevOps & CloudAuto-check passed
  • Cb Build Test

    BlkLeg/CircuitBreaker

    How Circuit Breaker is built, tested, packaged, and kept secret-safe — the make dev/verify/test targets, the PostgreSQL integration test database and its fixtures, the mono Docker image and native…

    201 GitHub stars~1.9k tokensUpdated 5 days ago
    DevOps & CloudAuto-check passed
  • Setup Prover

    boundless-xyz/boundless

    Set up and deploy a Boundless prover to a GPU server using Ansible.

    193 GitHub stars~4.1k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check: warnings
  • Django Deployment Test Loop

    hashgraph-online/awesome-codex-plugins

    Make Django deployment changes test-driven across Docker, production settings, Gunicorn, WhiteNoise/static files, environment variables, Ansible/server setup, staging smoke tests, and release checks.

    1.3k GitHub stars~851 tokensUpdated today
    DevOps & CloudAuto-check passed
  • Guides writing and reviewing pREST Docker-based integration tests so every HTTP request is explained by step comments or table-driven descriptions.

    4.6k GitHub stars~1.1k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Official

    Starts a local PostgreSQL 16 container, loads SQL fixtures and runs the Airbyte spec, check, discover and read commands against a chosen source-postgres image.

    22k GitHub stars~2.5k tokensUpdated today
    Testing & QAAuto-check passed

More from ansible-collections/community.postgresql

  • Commit

    ansible-collections/community.postgresql

    This skill should be used when the user asks to 'commit', 'create a commit', or 'git commit'.

    144 GitHub stars~553 tokensUpdated 17 days ago
    Auto-check passed
  • PR Review

    ansible-collections/community.postgresql

    Reviews pull requests and code changes in this Ansible collection against project standards and the Ansible Collection Review Checklist.

    144 GitHub stars~1.6k tokensUpdated 17 days ago
    Auto-check passed
  • Release

    ansible-collections/community.postgresql

    Guides the release of an Ansible collection following the upstream process (without release branches).

    144 GitHub stars~1.7k tokensUpdated 17 days ago
    Auto-check passed

Questions about Run Tests

What does Run Tests do?

Runs and writes tests (sanity, unit, integration) for the community.postgresql Ansible collection using ansible-test. postgresql.postgresql Ansible collection using ansible-test.

When should I use Run Tests?

Run Tests fits situations like: write tests for a module; questions unrelated to testing.

How do I install Run Tests in Claude Code?

Run `npx skills add ansible-collections/community.postgresql --skill run-tests -a claude-code`. Or copy the skill folder (.agents/skills/run-tests in ansible-collections/community.postgresql) into .claude/skills/run-tests in your project. Claude Code loads it when a task matches its description.

How do I install Run Tests in Codex?

Run `npx skills add ansible-collections/community.postgresql --skill run-tests -a codex`. Or copy the skill folder (.agents/skills/run-tests in ansible-collections/community.postgresql) into .agents/skills/run-tests in your project. Codex loads it when a task matches its description.

Can I use Run Tests in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ansible-collections/community.postgresql --skill run-tests -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/run-tests, .gemini/skills/run-tests, .github/skills/run-tests and .opencode/skills/run-tests in your project.

What does Run Tests need to run?

SKILL.md names no scripts, command-line tools or credentials: Run Tests is instructions for the agent only. Our summary lists: Docker.

Does Run Tests access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Run Tests safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Run Tests use?

Run Tests has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Run Tests use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Run Tests?

Skills that share tags, products or a category with Run Tests: Run Tests (ansible-collections/ansible.mysql, 134 stars), Cb Build Test (BlkLeg/CircuitBreaker, 201 stars), Setup Prover (boundless-xyz/boundless, 193 stars) and Django Deployment Test Loop (hashgraph-online/awesome-codex-plugins, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Run Tests?

ansible-collections (a GitHub organization) maintains it in ansible-collections/community.postgresql, which has 144 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on September 23, 2026.

Source: ansible-collections/community.postgresql on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.