AGENT SKILL

use-image-clipboard

Use when needing to read an image from the Windows clipboard and save it to a temporary PNG file on disk, returning its path for downstream use in scripts or pipelines. Required workaround for Antigravity CLI, which does not support direct image paste (Alt+V) the way Claude Code and Codex CLI do.

使用场景图像与多媒体
License 许可
MIT
最近更新
2026-11-02
Stars
★ 0
Forks
0

01 前言 Front Matter

name
use-image-clipboard
description
Use when needing to read an image from the Windows clipboard and save it to a temporary PNG file on disk, returning its path for downstream use in scripts or pipelines. Required workaround for Antigravity CLI, which does not support direct image paste (Alt+V) the way Claude Code and Codex CLI do.

03 SKILL.md 正文

Use Image from Clipboard

Overview

Antigravity CLI does not support direct image paste (the Alt+V shortcut available in Claude Code and Codex CLI). This skill is the workaround: it reads an image from the Windows clipboard via .NET System.Windows.Forms and saves it as a PNG to a temp path, emitting the file path so Antigravity can pick it up with its image-viewing tool.

When to Use

Use this skill when:

  • You want to share a screenshot or clipboard image with Antigravity and it cannot accept it via direct paste
  • You need to materialise clipboard image data as a file path for further analysis or upload
  • Running any PowerShell workflow that needs clipboard image access on Windows

Not for: macOS/Linux, non-image clipboard content (text, files), or Claude Code/Codex sessions where Alt+V paste works natively.

The Problem This Solves

CLI Native image paste This skill needed?
Claude Code ✅ Alt+V No
Codex CLI ✅ Alt+V No
Antigravity CLI ❌ Not supported Yes

Workflow

  1. Take a screenshot or copy any image to the clipboard (Print Screen, Snipping Tool, Win+Shift+S, etc.)
  2. Run the script below in PowerShell — it outputs a file path
  3. Pass that path to Antigravity using its view_file tool on the returned path

Script

Add-Type -AssemblyName System.Windows.Forms
if ([System.Windows.Forms.Clipboard]::ContainsImage()) {
    $img = [System.Windows.Forms.Clipboard]::GetImage()
    $tempPath = [System.IO.Path]::Combine($env:TEMP, "cli_screenshot.png")

### Quick Reference
### Common Mistakes
### Integration Example

04 同仓库更多 Skills

Prekzursil
Prekzursil/agent-skills-toolchain

clarify-requirements

Resolve genuine pre-execution ambiguity by scanning repo context, generating 1-6 grounded options, and asking 1-3 focused questions via AskUserQuestion. NOT for mid-task use (injection risk); NOT when the goal is already unambiguous; use to disambiguate vague prompts before any file edits.

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

openmm-md

Run FREE, open-source, Windows-native GPU molecular dynamics via the openmm-md MCP (OpenMM + CUDA on the local NVIDIA GPU). Use for protein / protein-ligand MD when you want a free stack or are on Windows without a Schrodinger license. Covers the full workflow (prepare, solvate, minimize, equilibrate, production, analyze, mmgbsa) AND an honest decision guide vs Schrodinger Desmond, including how to run Desmond legitimately on Linux or a cloud GPU with a real license. This is a deliberately LESSER free alternative and does NOT replace the schrodinger MCP tools. Do NOT use it to pick a free tool when a validated FEP+, WaterMap, IFD-MD, or Prime MM-GBSA result is actually required.

Skill与智能体开发
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

visual-review

Take screenshots of web pages and UI using Playwright for visual review and iteration

演示文稿测试与质量
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

status

Diagnostic status report — shows metaswarm installation state, project setup, and potential issues

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

start

Use when starting work on any task, when the user mentions metaswarm, or when the user wants to begin tracked development work

Skill与智能体开发
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

setup

Interactive project setup — detects your project, configures metaswarm, writes project-local files

★ 0