소스 정보
- 저장소
- diegosouzapw/awesome-omni-skill
- 최근 소스 활동
- 2026년 3월 2일 06:27
- 감지된 SKILL.md 언어
- 영어
- 스타
- 50
- 포크
- 19
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/diegosouzapw/awesome-omni-skill --skill arboard명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Token-efficient tracking for AI orchestration. CLI-first for status updates (~50 tokens), agent fallback for complex ops (~1KB). Use when: updating task status, querying blockers, creating progress files, validating phases.
AshAi extension guidelines for integrating AI capabilities with Ash Framework. Use when implementing vectorization/embeddings, exposing Ash actions as LLM tools, creating prompt-backed actions, or setting up MCP servers. Covers semantic search, LangChain integration, and structured outputs.
This skill should be used when solving hard questions, complex architectural problems, or debugging issues that benefit from GPT-5 Pro or GPT-5.1 thinking models with large file context. Use when standard Claude analysis needs deeper reasoning or extended context windows.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | arboard |
| description | Cross-platform clipboard access for text and images |
| tags | ["clipboard","cross-platform","images","text"] |
Cross-platform clipboard library by 1Password for reading and writing text and images. Provides a unified API across macOS, Windows, and Linux (X11/Wayland).
Crate: https://crates.io/crates/arboard Docs: https://docs.rs/arboard/latest/arboard/
The main entry point. Create one instance to interact with the system clipboard.
use arboard::Clipboard;
let mut clipboard = Clipboard::new()?;
Important: Clipboard::new() returns Result<Clipboard, Error> - it can fail if:
Stores raw RGBA pixel data for clipboard images.
use arboard::ImageData;
use std::borrow::Cow;
let image = ImageData {
width: 100,
height: 100,
bytes: Cow::Owned(vec![0u8; 100 * 100 * 4]), // RGBA: 4 bytes per pixel
};
Pixel Format:
width * height * 4Non-exhaustive enum with these variants:
ContentNotAvailable - Clipboard empty or wrong formatClipboardNotSupported - Platform/environment doesn't support clipboardClipboardOccupied - Another process is using the clipboardConversionFailure - Image/text couldn't be convertedUnknown { description } - Catch-all for other errorsThe codebase uses arboard for:
Clipboard History Monitoring (src/clipboard_history/monitor.rs)
Copy to Clipboard (src/clipboard_history/clipboard.rs)
Selected Text Operations (src/selected_text.rs)
Text Injection (src/text_injector.rs)
script-kit-gpui consistently uses this pattern when temporarily using the clipboard:
use arboard::Clipboard;
use anyhow::{Context, Result};
fn paste_via_clipboard(text: &str) -> Result<()> {
let mut clipboard = Clipboard::new().context("Failed to access clipboard")?;
// 1. Save original contents
let original = clipboard.get_text().ok();
// 2. Set new content
clipboard.set_text(text).context("Failed to set clipboard")?;
// 3. Perform operation (e.g., simulate Cmd+V)
simulate_paste()?;
// 4. Restore original (best effort)
if let Some(original_text) = original {
let _ = clipboard.set_text(&original_text);
}
Ok(())
}
let mut clipboard = Clipboard::new()?;
match clipboard.get_text() {
Ok(text) => println!("Got: {}", text),
Err(arboard::Error::ContentNotAvailable) => println!("Empty or not text"),
Err(e) => eprintln!("Error: {}", e),
}
let mut clipboard = Clipboard::new()?;
clipboard.set_text("Hello, world!")?;
// Also accepts String, &String, Cow<str>
clipboard.set_text(String::from("owned"))?;
// HTML with plain text fallback
clipboard.set_html(
"<b>Bold</b> text",
Some("Bold text"), // Alt text for apps that don't support HTML
)?;
let mut clipboard = Clipboard::new()?;
match clipboard.get_image() {
Ok(image) => {
println!("{}x{} image, {} bytes",
image.width, image.height, image.bytes.len());
}
Err(arboard::Error::ContentNotAvailable) => {
println!("No image on clipboard");
}
Err(e) => eprintln!("Error: {}", e),
}
use arboard::{Clipboard, ImageData};
use std::borrow::Cow;
let mut clipboard = Clipboard::new()?;
// Create a 2x2 red/green/blue/white test image
let pixels = vec![
255, 0, 0, 255, // Red pixel
0, 255, 0, 255, // Green pixel
0, 0, 255, 255, // Blue pixel
255, 255, 255, 255, // White pixel
];
let image = ImageData {
width: 2,
height: 2,
bytes: Cow::Owned(pixels),
};
clipboard.set_image(image)?;
Use to_owned_img() when you need to store the image beyond the clipboard's lifetime:
let image = clipboard.get_image()?;
let owned: ImageData<'static> = image.to_owned_img();
// Now safe to use after clipboard is dropped
NSPasteboard via objc2NSImage objectschangeCountclipboard-win crateClipboardOccupiedCF_DIB, CF_BITMAPClipboard instance is dropped, content may become unavailable to other apps!SetExtLinux trait for persistence options:use arboard::{Clipboard, SetExtLinux};
let mut clipboard = Clipboard::new()?;
clipboard.set()
.wait() // Keep clipboard available after app exits (forks background process)
.text("Persistent text")?;
LinuxClipboardKind::Clipboard - Ctrl+C/Ctrl+V (default)LinuxClipboardKind::Primary - Middle-click pasteFor advanced operations, use the builder pattern:
let mut clipboard = Clipboard::new()?;
// Get with options
let text = clipboard.get()
.text()?;
// Set with options
clipboard.set()
.text("content")?;
// Clear
clipboard.clear()?;
image Cratescript-kit-gpui converts between arboard::ImageData and the image crate:
use arboard::ImageData;
use image::RgbaImage;
use std::borrow::Cow;
// ImageData -> RgbaImage
fn to_rgba_image(img: &ImageData) -> Option<RgbaImage> {
RgbaImage::from_raw(
img.width as u32,
img.height as u32,
img.bytes.to_vec(),
)
}
// RgbaImage -> ImageData
fn from_rgba_image(rgba: &RgbaImage) -> ImageData<'static> {
ImageData {
width: rgba.width() as usize,
height: rgba.height() as usize,
bytes: Cow::Owned(rgba.as_raw().clone()),
}
}
// BAD: Clipboard held during async operation
let mut clipboard = Clipboard::new()?;
let text = clipboard.get_text()?;
some_async_operation().await; // Other processes blocked!
clipboard.set_text(&modified)?;
// GOOD: Drop clipboard before await
let text = {
let mut clipboard = Clipboard::new()?;
clipboard.get_text()?
};
some_async_operation().await;
{
let mut clipboard = Clipboard::new()?;
clipboard.set_text(&modified)?;
}
// BAD: Panics if clipboard has image
let text = clipboard.get_text().unwrap();
// GOOD: Handle both content types
if let Ok(text) = clipboard.get_text() {
handle_text(&text);
} else if let Ok(image) = clipboard.get_image() {
handle_image(&image);
}
// BAD: Expensive on Linux (reads full payload)
loop {
let content = clipboard.get_text();
thread::sleep(Duration::from_millis(100));
}
// GOOD: Use OS-level change detection when available
// (macOS: NSPasteboard.changeCount, Windows: clipboard sequence number)
// BAD: Silent failure
let _ = clipboard.set_text("text");
// GOOD: Log or propagate errors
clipboard.set_text("text").context("Failed to set clipboard")?;
// BAD: Bytes don't match dimensions
let image = ImageData {
width: 100,
height: 100,
bytes: Cow::Owned(vec![0u8; 1000]), // Should be 40000!
};
// GOOD: Validate or compute correctly
let width = 100;
let height = 100;
let bytes = vec![0u8; width * height * 4];
let image = ImageData { width, height, bytes: Cow::Owned(bytes) };
use arboard::{Clipboard, Error};
use anyhow::{Context, Result};
fn clipboard_operation() -> Result<String> {
let mut clipboard = Clipboard::new()
.context("Failed to access clipboard")?;
match clipboard.get_text() {
Ok(text) => Ok(text),
Err(Error::ContentNotAvailable) => {
// Empty clipboard is often expected
Ok(String::new())
}
Err(Error::ClipboardOccupied) => {
// Retry logic might help
anyhow::bail!("Clipboard busy, try again")
}
Err(e) => {
anyhow::bail!("Clipboard error: {}", e)
}
}
}
image-data (default) - Enable image supportwayland-data-control - Use wl-clipboard protocol on Wayland[dependencies]
arboard = { version = "3.6", default-features = false } # Text only
arboard = { version = "3.6", features = ["image-data"] } # With images