소스 정보
- 저장소
- xberg-io/xberg
- 최근 소스 활동
- 2026년 5월 7일 13:58
- 감지된 SKILL.md 언어
- 영어
- 스타
- 9,157
- 포크
- 568
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/xberg-io/xberg --skill format-specific-extraction명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Cargo feature flags for crates/xberg — ORT-incompatible targets (WASM, Android x86_64 emulator), type-only and tract inference companion features, WASM/Android-safe variants, PDF backend, mutually-exclusive ORT variants, platform-conditional deps, aggregate feature sets, and build profiles. Load when adding, wiring, or debugging a Cargo feature, or when reasoning about what compiles on WASM/Android/Windows/macOS-intel targets.
Use when extracting from many files at once with shared config, bounded parallelism, per-file overrides, and error recovery. Covers the `batch` command, `--file-configs`, `--max-concurrent`, and output layout.
Use when splitting extracted text into chunks for LLM context windows or RAG ingestion. Covers chunk size, overlap, markdown/yaml/semantic chunkers, tokenizer-based sizing, and the standalone `chunk` command.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | format-specific-extraction |
| description | Format-specific document extraction workflows |
| priority | high |
ZIP archive → Security validation → XML parsing → Text + tables + metadata
ZipBombValidator::new(limits).validate(&mut archive)?word/document.xml, ppt/slides/*.xml, content.xml)quick-xml::Reader (streaming) + DepthValidator + StringGrowthValidatorcrate::extraction::office_metadata::extract_metadata()extractors/docx.rs, extractors/pptx.rs, extractors/odt.rsBytes → pdf_oxide → Per-page text + OCR fallback → Tables → Metadata
pdf_oxide::PdfDocument::from_bytes(content)?config.force_ocr || !has_searchable_text()config.pages enabled#[cfg(feature = "pdf")]extractors/pdf/mod.rsValidate → Extract metadata → Extract plaintext files only
ZipBombValidator BEFORE any extractionbuild_archive_result() helperextractors/archive.rs, extraction/archive/*.rsDetect format from MIME → Parse → Pretty-print → Metadata
Single StructuredExtractor handles multiple MIME types. Parse with format-specific library, pretty-print to text.
See: extractors/structured.rs
Parse headers → Extract body (text/html) → Process attachments
See: extraction/email.rs, extractors/email.rs
| Helper | Location | Purpose |
|---|---|---|
office_metadata::extract_metadata() | extraction/office.rs | Office XML metadata |
cells_to_markdown() | extraction/mod.rs | Convert cell grid to GFM table |
build_archive_result() | extraction/archive/mod.rs | Standard archive result |
EXT_TO_MIME in core/mime.rsDocumentExtractor traitsupported_mime_types() and priority() (default: 50)extractors/mod.rs → register_default_extractors()#[cfg(feature = "my-format")]