一键导入
pixeltable-data
Pixeltable multimodal data workflows — table creation, computed columns, AI transformations, embedding indexes, and cross-modal queries.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Pixeltable multimodal data workflows — table creation, computed columns, AI transformations, embedding indexes, and cross-modal queries.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use when user asks to 'lint agent configs', 'validate skills', 'check CLAUDE.md', 'validate hooks', 'lint MCP'. Validates agent configuration files against 385 rules.
Interprets Culture Index (CI) surveys, behavioral profiles, and personality assessment data. Supports individual profile interpretation, team composition analysis (gas/brake/glue), burnout detection, profile comparison, hiring profiles, manager coaching, interview transcript analysis for trait prediction, candidate debrief, onboarding planning, and conflict mediation. Accepts extracted JSON or PDF input via OpenCV extraction script.
Creates devcontainers with Claude Code, language-specific tooling (Python/Node/Rust/Go), and persistent volumes. Use when adding devcontainer support to a project, setting up isolated development environments, or configuring sandboxed Claude Code workspaces.
Analyzes smart contract codebases to identify state-changing entry points for security auditing. Detects externally callable functions that modify state, categorizes them by access level (public, admin, role-restricted, contract-only), and generates structured audit reports. Excludes view/pure/read-only functions. Use when auditing smart contracts (Solidity, Vyper, Solana/Rust, Move, TON, CosmWasm) or when asked to find entry points, audit flows, external functions, access control patterns, or privileged operations.
Draws 4 Tarot cards to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
Configures mewt or muton mutation testing campaigns — scopes targets, tunes timeouts, and optimizes long-running runs. Use when the user mentions mewt, muton, mutation testing, or wants to configure or optimize a mutation testing campaign.
基于 SOC 职业分类
| name | pixeltable-data |
| description | Pixeltable multimodal data workflows — table creation, computed columns, AI transformations, embedding indexes, and cross-modal queries. |
| version | 0.1.0 |
| author | Jero (LATTICE / MARPA Design Studios) |
| triggers | ["create a pixeltable table","pixeltable workflow","multimodal data pipeline","pixeltable query","embedding index"] |
| tools | ["Bash","Read","Write","Edit"] |
USE WHEN the user wants to build multimodal data pipelines with Pixeltable — creating tables for images/video/audio/text, adding computed columns with AI transformations, building embedding indexes, or querying across modalities.
Creates and manages Pixeltable declarative data workflows that automatically handle versioning, lineage, and AI transformations for multimodal data (images, video, audio, text, documents).
import pixeltable as pxt
# Create directory
pxt.create_dir("my_project")
# Create table with typed columns
t = pxt.create_table("my_project.documents", {
"doc": pxt.Document,
"title": pxt.String,
"category": pxt.String,
"timestamp": pxt.Timestamp,
})
# Image table
img_table = pxt.create_table("my_project.images", {
"image": pxt.Image,
"caption": pxt.String,
"source": pxt.String,
})
# Video table with frame extraction
vid_table = pxt.create_table("my_project.videos", {
"video": pxt.Video,
"title": pxt.String,
})
from pixeltable.functions import openai, huggingface
# Add AI-computed columns — these run automatically on insert
t.add_computed_column(
summary=openai.chat_completions(
model="gpt-4o-mini",
messages=[{"role": "user", "content": t.doc.extract_text()}],
).choices[0].message.content
)
t.add_computed_column(
embedding=openai.embeddings(
model="text-embedding-3-small",
input=t.title,
).data[0].embedding
)
# Image transformations
img_table.add_computed_column(
thumbnail=img_table.image.resize((256, 256))
)
img_table.add_computed_column(
description=openai.chat_completions(
model="gpt-4o",
messages=[{
"role": "user",
"content": [
{"type": "text", "text": "Describe this image"},
{"type": "image_url", "image_url": {"url": img_table.image}},
],
}],
).choices[0].message.content
)
# Create embedding index
t.add_embedding_index("embedding", metric="cosine")
# Similarity search
results = t.order_by(t.embedding.similarity("search query"), asc=False).limit(10).collect()
# Filter and select
results = t.where(t.category == "research").select(t.title, t.summary).collect()
# Aggregation
counts = t.group_by(t.category).select(t.category, pxt.count()).collect()
# Cross-table joins via computed columns
# (Pixeltable handles lineage automatically)
# Snapshot view (frozen at creation time)
v = pxt.create_view("my_project.recent_docs", t.where(t.timestamp > cutoff))
# Frame extraction view from video
frames = pxt.create_view(
"my_project.video_frames",
vid_table,
iterator=pxt.iterators.FrameIterator(fps=1),
)
uv pip install pixeltable
t = pxt.create_table("project.docs", {"doc": pxt.Document, "source": pxt.String})
t.add_computed_column(text=t.doc.extract_text())
t.add_computed_column(chunks=t.text.chunk(chunk_size=500, overlap=50))
chunks_view = pxt.create_view("project.chunks", t, iterator=pxt.iterators.ChunkIterator("chunks"))
chunks_view.add_computed_column(embedding=openai.embeddings(model="text-embedding-3-small", input=chunks_view.chunk).data[0].embedding)
chunks_view.add_embedding_index("embedding", metric="cosine")
# Query across text + image embeddings
text_results = text_table.order_by(text_table.embedding.similarity(query), asc=False).limit(5)
image_results = img_table.order_by(img_table.clip_embedding.similarity(query), asc=False).limit(5)
collect() to materialize query results into a DataFrame