跳到正文
cccskills
免费在 GitHub 公开

paint

Paint an original image in a watercolor style by writing code, not by calling an image model. Use when the user asks you to draw, paint, sketch, or make a picture of something and there is no image-generation tool available, or when they ask for a painting, watercolor, or illustration you can iterate on. Do not use for charts, diagrams, UI mockups, or requests to edit an existing photograph.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(9)

  • SKILL.md3.2 KB
  • examples/full_scene.py24.0 KB
  • LICENSE.txt11.1 KB
  • paintkit/__init__.py644 B
  • paintkit/__pycache__/__init__.cpython-311.pyc984 B
  • paintkit/__pycache__/toolkit.cpython-311.pyc106.1 KB
  • paintkit/toolkit.py63.0 KB
  • reference.md3.3 KB
  • render.py2.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Code-drawn watercolor

You paint by writing a short Python function against paintkit.Canvas, an OpenCV watercolor toolkit bundled with this skill. Geometry is seeded, so you can look at the output, fix the two worst things, and re-render the same painting with only your edit changed.

Read reference.md in this skill directory once before your first scene. It documents every primitive. examples/full_scene.py is a worked 18-element scene that uses every primitive; skim it for patterns before starting. Do not paste either into the conversation.

Workflow

Run each step with bash_tool. This skill is mounted read-only at /mnt/skills/examples/paint; write outputs to your working directory.

  1. Write the scene to a file in your working directory:

    cat > scene.py <<'EOF'
    from paintkit import Canvas, hex_rgb
    
    def paint(cv: Canvas):
        cv.paper_texture(0.05)
        cv.wash(0, int(cv.h * 0.55), hex_rgb("#a7c4d8"), hex_rgb("#e8d7b8"),
                alpha=0.8, mottling=0.4)
        # ... more primitives, back to front
    EOF
    
  2. Render a quick preview:

    python /mnt/skills/examples/paint/render.py scene.py -o preview.png --scale 0.5 --seed 1
    
  3. Look at it. Call the view tool on preview.png. bash_tool returns only stdout, so without this step you never see what you drew.

  4. Critique and revise. Name the two things that read worst (a colour that fights the light, a shape that sits in the wrong plane, an edge that should be lost) and edit only those lines in scene.py. Re-render and look again. Two or three rounds is usually enough.

  5. Render full size and deliver:

    python /mnt/skills/examples/paint/render.py scene.py -o out.png --width 1600 --height 900 --seed 1
    

    Then call present_files on out.png and scene.py. The scene file is the editable source; keep it so "make the sky darker" is an edit, not a new painting.

Keeping the transcript clean

Write and edit scene.py through bash_tool (heredoc, or a short Python -c that rewrites the file). Do not paste scene source into the chat as prose; a collapsed tool call is a few lines in the transcript.

Painting well

Work back to front and light to dark. Reserve whites by leaving paper unpainted or with a white outline; there is no white pigment. Two thin watercolor_blob layers read better than one heavy flat_shape. Distance is cool, low-contrast, wet, soft; foreground is warm, dark, dry, hard-edged. Use cv.rng for any procedural placement so the scene stays seeded.

Budget

The container has one CPU and a 300 s wall clock per call. A full 18-element scene renders in about a second at 1600×900. Use --scale 0.5 while iterating.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.

中文简介正在准备中。当前显示原文说明。

Razshy/Wiggle972026年9月5日 更新

Submit expense reimbursements through Benepass (app.getbenepass.com). For users whose employer uses Benepass as their benefits platform. Handles login, benefit selection, form filling, receipt upload, and submission. Requires browser/computer-use capabilities.

中文简介正在准备中。当前显示原文说明。

Razshy/Wiggle972026年9月5日 更新

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

中文简介正在准备中。当前显示原文说明。

Razshy/Wiggle972026年9月5日 更新

Read this skill before the first step that uses the built-in browser, the browser pane inside the Claude desktop app (also called the in-app browser, the browser pane, Claude's browser, or "your own browser"), whose tools are named mcp__Claude_Browser__* when the session runs in the desktop app and mcp__remote-devices__Claude_Browser__* when a cloud session is linked to the person's computer; before those tools are turned on there may be a single enable__mcp__remote-devices__Claude_Browser tool instead. It covers the pane's persistent sign-ins, tabs and preview_start, reading pages as text, site approvals, what the pane cannot open, and what to do when it cannot be reached. It is not for Claude in Chrome (mcp__claude-in-chrome__* tools), which has its own skill, and it does not decide which browser to use.

中文简介正在准备中。当前显示原文说明。

Razshy/Wiggle972026年9月5日 更新

Make a phone call to book an appointment or reservation. Checks calendar first, gets explicit consent before dialing, discloses AI identity on the call, and adds the booking to calendar when done.

中文简介正在准备中。当前显示原文说明。

Razshy/Wiggle972026年9月5日 更新

Cancel a subscription or unsubscribe from a service. Works from a description, a pasted charge line, a URL, or a photo/screenshot. Can also audit a full statement for recurring charges and cancel several at once. Finds the right contact method and handles the cancellation — including phone calls.

中文简介正在准备中。当前显示原文说明。

Razshy/Wiggle972026年9月5日 更新

查看 Razshy 的全部技能

报告此技能的问题