docker-compose-healthcheck-injector

docker-compose-healthcheck-injector is a skill for Claude Code, Cursor from aborroy/aiup-alfresco. It costs 0 tokens per session (740 once invoked), scanned A, original, Apache-2.0.

A helper for Docker Compose files, which describe how related containers run together. It adds service health checks and makes dependent services wait until their prerequisites are ready, with rules suited to Alfresco Content Services.

In plain words
What is it for?
Use it when creating or editing an Alfresco `compose.yaml`. It checks or adds health checks and readiness-based dependencies for services such as the repository, database, message broker, search, and Share interface.
Why use it?
It prevents containers from starting in the wrong order or being treated as ready before they can serve requests. This reduces startup failures in Alfresco stacks.

Skill for Claude CodeCursor

Written for Claude Code and Cursor: shipped in a Claude Code plugin, but also installed under .cursor/.

Part of the aiup-alfresco plugin — 38 skills, 25 commands, 3 agents, 3 hooks shipped together

Good fit Use it when creating or editing an Alfresco compose.yaml. It checks or adds health checks and readiness-based dependencies for services such as the repository, database, message broker, search, and Share interface.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aborroy/aiup-alfresco/docker-compose-healthcheck-injector
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aborroy/aiup-alfresco --skill docker-compose-healthcheck-injector
Clone the repo
git clone --depth 1 https://github.com/aborroy/aiup-alfresco

Made for: Claude Code, Cursor.

Or install aiup-alfresco, the plugin that ships this one along with the rest of its 38 skills, 25 commands, 3 agents, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for docker-compose-healthcheck-injector

README.md
[![agentmods](https://agentmods.dev/badge/skills/aborroy/aiup-alfresco/docker-compose-healthcheck-injector/github.svg)](https://agentmods.dev/skills/aborroy/aiup-alfresco/docker-compose-healthcheck-injector)
Your own site
<a href="https://agentmods.dev/skills/aborroy/aiup-alfresco/docker-compose-healthcheck-injector"><img src="https://agentmods.dev/badge/skills/aborroy/aiup-alfresco/docker-compose-healthcheck-injector/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for docker-compose-healthcheck-injector

Your own site · 80×15
<a href="https://agentmods.dev/skills/aborroy/aiup-alfresco/docker-compose-healthcheck-injector"><img src="https://agentmods.dev/badge/skills/aborroy/aiup-alfresco/docker-compose-healthcheck-injector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 740 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00740
Opus 5 $0.00000 $0.00370
Sonnet 5 $0.00000 $0.00148
Haiku 4.5 $0.00000 $0.00074

Measured 12d ago against content hash 44d21f582a84, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

docker-compose-healthcheck-injector scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Alfresco: `curl -f http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/probes/-ready-`
.cursor/skills/docker-compose-healthcheck-injector/SKILL.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Docker Compose Healthcheck Injector

Validate and fix Docker Compose files for Alfresco deployments.

Required Services

Verify these services are present (when applicable):

  • alfresco — ACS repository
  • postgres — database
  • activemq — message broker
  • transform-core-aio or individual transform services
  • search — Solr or Elasticsearch
  • share — (optional, if Share UI is used)

Healthcheck Rules

Every service must have a healthcheck block with:

  • test — appropriate health endpoint or command
  • interval — recommended 30s
  • timeout — recommended 10s
  • retries — recommended 3
  • start_period — recommended 60s for Alfresco, 30s for others

Dependency Rules

  • depends_on must use condition: service_healthy (not just service name)
  • alfresco depends on postgres and activemq
  • share depends on alfresco
  • search depends on alfresco (for Solr) or is independent (Elasticsearch)

Known Healthcheck Endpoints

  • Alfresco: curl -f http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/probes/-ready-
  • Share: curl -s -o /dev/null -w '%{http_code}' http://localhost:8080/share/ | grep -qE '^[23]'
  • ActiveMQ: curl -sf -u $${ACTIVEMQ_USER:-admin}:$${ACTIVEMQ_PASSWORD:-admin} http://localhost:8161/admin/ > /dev/null
  • PostgreSQL: pg_isready -d alfresco -U alfresco
  • Solr (Search Services): curl -f -H "X-Alfresco-Search-Secret: $${SOLR_ALFRESCO_SECRET}" http://localhost:8983/solr/alfresco/admin/ping
  • OpenSearch / Elasticsearch (Search Enterprise): curl -s http://localhost:9200/_cluster/health | grep -q 'green\|yellow'
  • Transform: curl -f http://localhost:8090/ready

Share Healthcheck — known bad patterns

FLAG as ERROR any Share healthcheck that uses a path other than /share/:

Bad pattern Why it fails
http://localhost:8080/share/page/home /page/home does not exist in Share 26.x — Spring Surf throws a 500 Could not resolve view 'home'; the container stays health: starting forever and blocks dependent services (proxy)
http://localhost:8080/share/page/dashboard Same issue — page routes are user-session-dependent

Read the full file on GitHub · 59 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 59 lines · 0 tokens per session scan A 44d21f582a84

Subscribe to this mod's changes

docker-compose-healthcheck-injector is a skill published in the GitHub repository aborroy/aiup-alfresco (13 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 740 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

manage-mounts

Configure which host directories agent containers can access. View, add, or remove mount allowlist entries. Triggers on "mounts", "mount allowlist", "agent access to directories", "container mounts".

nanocoai/nanoclaw · 47 tokens

kubernetes-specialist

Use when deploying or managing Kubernetes workloads. Invoke to create deployment manifests, configure pod security policies, set up service accounts, define network isolation rules, debug pod crashes, analyze resource limits, inspect container logs, or right-size workloads. Use for Helm charts, RBAC policies…

Jeffallan/claude-skills · 79 tokens

devops-engineer

Creates Dockerfiles, configures CI/CD pipelines, writes Kubernetes manifests, and generates Terraform/Pulumi infrastructure templates. Handles deployment automation, GitOps configuration, incident response runbooks, and internal developer platform tooling. Use when setting up CI/CD pipelines, containerizing…

Jeffallan/claude-skills · 107 tokens

offensive-container-escape

Container escape and breakout techniques targeting Docker, containerd, and Podman runtimes. Covers privileged container breakout via host filesystem mount and nsenter, Docker socket abuse through /var/run/docker.sock, Linux capability exploitation including CAPSYSADMIN, CAPSYSPTRACE, and CAPNETADMIN, cgroup v1…

SnailSploit/Claude-Red · 196 tokens

ecs

AWS ECS container orchestration for running Docker containers. Use when deploying containerized applications, configuring task definitions, setting up services, managing clusters, or troubleshooting container issues.

itsmostafa/aws-agent-skills · 35 tokens

eks

AWS EKS Kubernetes management for clusters, node groups, and workloads. Use when creating clusters, configuring IRSA, managing node groups, deploying applications, or integrating with AWS services.

itsmostafa/aws-agent-skills · 38 tokens