c4-container
Skill by sickn33
Documents C4 container-level architecture, covering applications and data stores, their interfaces, dependencies and deployment. It guides the assistant to produce Mermaid C4Container diagrams and OpenAPI specs from deployment definitions. Use it for container-level documentation tasks.
Install c4-container
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/c4-container ~/.claude/skills/c4-containerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/c4-container ~/.gemini/antigravity-cli/skills/c4-containerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
c4-container is a skill for writing C4 container-level documentation. It covers applications and data stores, which the source says are not necessarily Docker containers or runtime nodes. For each container, it provides templates for purpose, components, interfaces, dependencies, and infrastructure, along with a Mermaid C4Container diagram example and an OpenAPI specification template.
The skill asks the assistant to base each boundary and relationship on observed code or configuration, and to mark unknowns rather than invent them. It describes mapping components to deployment units, such as from Kubernetes manifests. It is meant for documenting container-level deployment architecture. The source says it should be used only when a task clearly matches its scope.
Written from the project's SKILL.md and checked against it.
What it can do
- Map components to containersSynthesizes components into containers based on deployment definitions.
- Document container APIsMaps API components to containers and documents their APIs as OpenAPI specs.
- Create container diagramsProduces Mermaid C4Container diagrams showing deployment architecture.
- Analyze Kubernetes manifestsReads Kubernetes manifests and creates container documentation from them.
- Link components and configsAdds links to contained components and to deployment configuration files.
Try asking
- Map the API components to containers and document their APIs as OpenAPI specs
- Analyze Kubernetes manifests and create container documentation
- Create a Mermaid C4 container diagram for my microservices architecture
Good to know
- Templates are placeholders, not discovered architecture.
- Use only when the task clearly matches the skill's scope.
- Output is not a substitute for environment-specific validation, testing, or expert review.
- Ask for clarification when required inputs or success criteria are missing.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/c4-container/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to c4-container
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
c4-container: common questions
Are C4 containers the same as Docker containers?
No. The source says C4 containers are applications or data stores, not necessarily Docker containers or runtime nodes. Physical instances should be modeled separately in a deployment diagram.
What does the c4-container skill produce?
It produces container-level documentation, including Mermaid C4Container diagrams, OpenAPI specifications for container APIs, and links to components and deployment configurations.
How does it differ from the C4-Component agent?
According to the source, the container skill maps components to deployment units, while the Component agent focuses on logical grouping.
How do I install c4-container?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is c4-container free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is c4-container safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to c4-container?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
