← Back to Skills Marketplace
duanc-chao

d

by wow · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ⚠ suspicious
177
Downloads
0
Stars
0
Active Installs
4
Versions
Install in OpenClaw
/install d
Description
Guide to deploy multiple OpenClaw agents in isolated Docker containers communicating via a secure shared filesystem without exposing network ports or using e...
README (SKILL.md)

Skill: Drawing an ASCII "D" Graph

Objective

To construct a visual representation of the letter "D" using standard text characters, focusing on creating a straight vertical spine and a curved outer edge.

Core Concept

Unlike the "V" shape, which relies on simple diagonal lines, the letter "D" requires a mix of straight vertical lines and a curved boundary. This is achieved by manipulating the spacing between the vertical "spine" of the letter and the "curve" on the right side, widening the gap in the middle and narrowing it at the top and bottom.

Step-by-Step Guide

  1. Define Dimensions: Determine the height of your letter. For a balanced look, the width usually extends to about half the height. Let's use a height of 7 lines for this example.
  2. Identify the Center: To create a symmetrical curve, you need to know the middle row. Calculate mid_height as height // 2.
  3. Iterate Through Rows: Loop through each line from top to bottom using a counter i (from 0 to height - 1).
  4. Calculate Spacing Logic: For each row, determine how many spaces should exist between the vertical bar | and the curved edge *.
    • The Vertical Spine: This is constant. Every line starts with the character | (or # or I).
    • The Curve Logic:
      • Top and Bottom Rows: The gap is widest here to form the top and bottom of the D.
      • Middle Rows: The gap narrows as you approach the vertical center.
      • The Center Row: The gap is at its minimum (often just 1 space or 0 spaces depending on the font style).
    • Formula: A simple way to calculate the inner padding is to measure the distance of the current row i from the center mid_height. The closer to the center, the smaller the padding.
  5. Construct the Line:
    • Print the vertical spine character.
    • Print the calculated number of spaces.
    • Print the curve character (e.g., *).

Visual Example (Height = 7)

Let's trace the logic for a "D" with a height of 7:

Row (i) Distance from Center Inner Padding Resulting Line
0 (Top) Far 3 spaces `
1 Medium 2 spaces `
2 Close 1 space `
3 (Center) Zero (Center) 1 space (Min) `
4 Close 1 space `
5 Medium 2 spaces `
6 (Bottom) Far 3 spaces `

(Note: In a more advanced rendering, the middle might be filled with *** to create a solid block look, but the outline method above is the standard ASCII approach.)

Python Code Snippet

Here is the logic implemented in Python to draw a clean, outlined "D":

def draw_ascii_d(height):
    # Ensure height is odd for a perfect center
    if height % 2 == 0:
        height += 1
       
    mid = height // 2
   
    print(f"--- ASCII D (Height: {height}) ---")
   
    for i in range(height):
        # 1. Draw the vertical spine
        line = "|"
       
        # 2. Calculate distance from the center row
        distance_from_center = abs(i - mid)
       
        # 3. Determine padding
        # We add +1 to ensure there is always at least one space
        # The padding increases as we move away from the center
        padding = distance_from_center + 1
       
        # 4. Add spaces and the curve character
        line += " " * padding
        line += "*"
       
        print(line)

# Example usage
draw_ascii_d(7)
Usage Guidance
Do not assume this skill will deploy containers — the metadata and actual instructions disagree. If you expected a deployment tool, ask the publisher for the correct package or a README matching that purpose. If you only need ASCII-art helpers, this SKILL.md is harmless. Avoid installing or granting any elevated access until the author clarifies the intended functionality and fixes the mismatched metadata. If you obtained this from a registry, check the owner's profile, changelog, and other published files for signs of mispublish or tampering.
Capability Analysis
Type: OpenClaw Skill Name: d Version: 1.0.3 The skill bundle contains instructions and a Python code snippet for generating an ASCII representation of the letter 'D'. The logic is purely mathematical and uses standard print statements without any network access, file system interaction, or suspicious instructions. (SKILL.md)
Capability Assessment
Purpose & Capability
Registry description says this skill guides deploying OpenClaw agents in isolated Docker containers, but the provided SKILL.md contains only instructions and a Python snippet to draw an ASCII letter 'D'. The declared purpose and actual capability are inconsistent.
Instruction Scope
The SKILL.md itself is narrowly scoped and only instructs how to construct ASCII art (no file system access, no external network calls, no reading of unrelated env vars). As-written, the instructions do not attempt any dangerous or out-of-scope actions.
Install Mechanism
This is an instruction-only skill with no install spec and no code files beyond SKILL.md, so there is nothing written to disk or downloaded during install.
Credentials
The skill declares no required environment variables or credentials, which is consistent with the ASCII-art instructions but inconsistent with the registry description that implies Docker/container operations (which would normally require binaries, credentials, or config). This mismatch suggests the metadata may be wrong or the package mispackaged.
Persistence & Privilege
The skill is not marked always:true, has default invocation settings, and does not request persistent system presence or modify other skills. No elevated privileges are requested.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install d
  3. After installation, invoke the skill by name or use /d
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.3
- Updated the skill to focus on drawing an ASCII "D" graph using text characters. - Replaced the previous multi-agent collaboration content with step-by-step instructions for constructing the letter "D" in ASCII art. - Added an explanation of the spacing and curve logic required for the shape. - Included a detailed example and a Python code snippet to illustrate the drawing process.
v1.0.2
Version 1.0.2 – Minor documentation update - Clarified and reorganized explanations for multi-agent orchestration. - Improved examples for task decomposition and agent roles. - Streamlined communication protocol specifics for better readability. - Simplified the code/example section to emphasize conceptual logic flow. - Removed duplicate or unnecessary technical detail for greater accessibility.
v1.0.1
- Renamed the skill to "Multi-Agent Collaboration (MAC)" and revised its core objective. - Shifted focus from secure Docker-based deployment to a conceptual guide for orchestrating multiple AI agents for complex tasks. - Introduced structured collaboration patterns (pipeline, parallel, debate, critic-actor) and guidelines for agent roles, communication protocols, and conflict resolution. - Added a visual example and a conceptual Python code snippet illustrating the critic-actor workflow. - Removed previous technical deployment and security instructions, emphasizing methodology and workflow design instead.
v1.0.0
Safe Multi-OpenClaw Collaboration 1.0.0 - Introduced a security-first guide for running and orchestrating multiple OpenClaw agents in isolated Docker containers. - Established an Orchestrator-Worker architecture for multi-agent task delegation, using least-privilege access. - Provided step-by-step deployment instructions with hardened Docker Compose configurations; no public port exposure or elevated privileges. - Outlined container communication via a shared, file-based mailbox system for secure coordination. - Included best practices on secret management, container monitoring, and security auditing for all deployments.
Metadata
Slug d
Version 1.0.3
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 4
Frequently Asked Questions

What is d?

Guide to deploy multiple OpenClaw agents in isolated Docker containers communicating via a secure shared filesystem without exposing network ports or using e... It is an AI Agent Skill for Claude Code / OpenClaw, with 177 downloads so far.

How do I install d?

Run "/install d" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is d free?

Yes, d is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does d support?

d is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created d?

It is built and maintained by wow (@duanc-chao); the current version is v1.0.3.

💬 Comments