소스 정보
- 저장소
- xybrid-ai/xybrid
- 최근 소스 활동
- 2026년 8월 10일 15:20
- 감지된 SKILL.md 언어
- 영어
- 스타
- 433
- 포크
- 47
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/xybrid-ai/xybrid --skill test-model명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | test-model |
| description | Test a model end-to-end using the xybrid execution system. |
Test a model end-to-end using the xybrid execution system.
The user should specify which model to test (e.g., "test kokoro-82m" or "test the TTS model").
Input: $ARGUMENTS (optional — model name or path to model directory)
If $ARGUMENTS is provided, use it to find the model. Otherwise ask which model to test.
Search for the model in these locations (in order):
$ARGUMENTS is a directory pathintegration-tests/fixtures/models/{name}/~/.xybrid/cache/{name}/Verify that model_metadata.json exists in the model directory.
Read model_metadata.json and check:
files array exist in the model directorymodel_file in execution_template points to an actual filemodel_id, version, execution_template, files)If any check fails, report the specific issue and suggest how to fix it.
Based on the execution_template.type and metadata.task:
| Task | Input | Expected Output | Feature Flags |
|---|---|---|---|
text-to-speech | Envelope::Text("Hello world") | Audio bytes (length > 0) | default |
speech-recognition (Onnx) | Envelope::Audio(wav_bytes) | Text transcription | default |
speech-recognition (GgmlWhisper) | Envelope::Audio(wav_bytes) | Text transcription | asr-whispercpp (in every platform-* preset) |
speech-recognition (SafeTensors) | Envelope::Audio(wav_bytes) | Text transcription | candle,candle-metal — opt-in only; no preset enables Candle |
text-generation (Gguf) | Envelope::Text("Hello") | Text response | llm-llamacpp |
text-embedding | Envelope::Text("test sentence") | Embedding vector (f32) | default |
image_classification | Raw image bytes | Class probabilities | default |
Check for an existing example in crates/xybrid-core/examples/ that matches the model.
If no example exists, create a minimal one at crates/xybrid-core/examples/{model_id}_test.rs:
//! Test example for {model_id}
use std::collections::HashMap;
use std::path::PathBuf;
use xybrid_core::execution::{ModelMetadata, TemplateExecutor};
use xybrid_core::ir::{Envelope, EnvelopeKind};
fn main() -> Result<(), Box<dyn std::error::Error>> {
let model_dir = PathBuf::from("integration-tests/fixtures/models/{model_id}");
let metadata_path = model_dir.join("model_metadata.json");
let metadata: ModelMetadata = serde_json::from_str(&std::fs::read_to_string(&metadata_path)?)?;
let mut executor = TemplateExecutor::with_base_path(model_dir.to_str().unwrap());
// Create appropriate input based on model task
let input = Envelope {
kind: EnvelopeKind::Text("Hello world".into()), // adjust per task
metadata: HashMap::new(),
};
// Third arg is an optional `&GenerationConfig` override.
let output = executor.execute(&metadata, &input, None)?;
println!(, output.kind);
();
(())
}
Adjust the input type based on the model task (Text for TTS/LLM/embedding, Audio for ASR).
Run from the repos/xybrid/ directory (or the repo root if that's where Cargo.toml is):
cargo run --example {example_name} -p xybrid-core --features {features}
Add feature flags based on the model type (see table in Step 3).
Check the output based on model type:
EnvelopeKind::Audio(bytes) with bytes.len() > 0. Optionally save to output.wav for manual listening.EnvelopeKind::Text(transcription) with non-empty text.EnvelopeKind::Text(response) with non-empty text.EnvelopeKind::Embedding(vec) with expected dimensionality.Print a summary:
Model: {model_id}
Task: {task}
Input: {input_type}
Output: {output_summary}
Status: PASS / FAIL
{If FAIL: specific error message and suggestion}
files array doesn't exist — download it or fix the pathplatform-* preset enables Candle any more. Either add --features candle explicitly, or switch to the GGML bundle (ExecutionTemplate::GgmlWhisper) that runs on asr-whispercpp — e.g. whisper-tiny-ggml instead of whisper-tiny.--features asr-whispercpp for GGML Whisper, --features candle for SafeTensors)--features llm-llamacpp for GGUF models