ASCII v

v1.0.0

Creates an ASCII art of a "V" by printing two diagonal lines converging to a single point, adjusting spaces for specified height.

0· 185·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for duanc-chao/v.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "ASCII v" (duanc-chao/v) from ClawHub.
Skill page: https://clawhub.ai/duanc-chao/v
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install v

ClawHub CLI

Package manager switcher

npx clawhub@latest install v
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name and description match the SKILL.md content: the skill only explains how to draw a V-shaped ASCII art and includes a simple Python example. There are no unrelated requirements.
Instruction Scope
Runtime instructions are narrowly scoped to calculating spaces and printing lines; they do not reference files, environment variables, external network endpoints, or any system state outside the task.
Install Mechanism
No install spec or code files are provided (instruction-only), so nothing is written to disk or downloaded during install.
Credentials
No environment variables, credentials, or config paths are requested or used; this is proportionate for a simple drawing task.
Persistence & Privilege
Skill is not forced-always, does not request persistent privileges, and does not modify other skills or system settings.
Assessment
This appears safe and coherent: it's an instruction-only skill that explains how to draw an ASCII 'V' and includes a harmless Python snippet. If you plan to run the example locally, review the code (it's simple string and print operations). As with any skill that executes code, only run code you trust, but there are no red flags here.

Like a lobster shell, security has layers — review code before you run it.

latestvk97acxyf5v1z0nv70r9hx05tgs839vnk
185downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

Skill: Drawing an ASCII "V" Graph

Objective

To create a visual representation of the letter "V" or a V-shaped graph using standard text characters.

️ Core Concept

An ASCII "V" is constructed by printing characters on two diagonal lines that start wide at the top and converge to a single point at the bottom. This requires controlling the spacing (padding) on each line.

Step-by-Step Guide

  1. Define the Size: Decide on the height of your "V". Let's call this height. For this example, we will use a height of 5 lines.
  2. Iterate Through Rows: You will create the graph line by line, from top to bottom. Let's use a variable i to represent the current row, starting from 0 up to height - 1.
  3. Calculate Positions for Each Line: For each row i, you need to determine where to place the two characters that form the "V" shape (e.g., the asterisk *).
    • Left Character Position: The number of spaces before the first character increases as you go down. This is equal to the current row number, i.
    • Right Character Position: The number of spaces between the two characters decreases as you go down. This is calculated as (height - 1 - i) * 2 - 1.
  4. Handle the Bottom Point: The formula for the space between the characters will result in a negative number for the very last line. This signals that you have reached the bottom point of the "V". In this case, you should only print one character, centered.

️ Visual Example (Height = 5)

Let's trace the logic for a "V" with a height of 5:

Row (i)Leading Spaces (i)Middle Spaces ((4-i)*2-1)Resulting Line
007* *
115 * *
223 * *
331 * *
44-1 (Bottom Point) *

Python Code Snippet

Here is how you could implement this logic in Python:

def draw_ascii_v(height):
    for i in range(height):
        # Calculate spaces
        leading_spaces = " " * i
        middle_spaces_count = (height - 1 - i) * 2 - 1
       
        # Print the line
        if middle_spaces_count < 0:
            # This is the bottom point
            print(leading_spaces + "*")
        else:
            # This is a regular V line
            middle_spaces = " " * middle_spaces_count
            print(leading_spaces + "*" + middle_spaces + "*")

# Example usage
draw_ascii_v(5)

Comments

Loading comments...