Logo Nominal Extractors

Nominal Extractors

Tổ chức
nominal-io
nominal-extractors

Use when building, testing, registering, or debugging Nominal containerized extractors — Docker images, written in any language, that convert proprietary or unsupported files during ingest. Covers the container contract (environment variables, mounted inputs, manifest.json, structured errors in the termination log, exit codes), the Python extractor framework (nominal.experimental.extractor decorators), image registration (register_image, registration_kwargs, nom container), and containerized ingest failures. For ordinary ingestion of formats Nominal already parses, use nominal-ingest instead.

Tổng quan

Nhà phát hànhnominal-io
Kho mãskills
Tên kỹ năngnominal-extractors
Sao
40
Bản fork
0
Tệp đi kèm
6
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 6 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được nominal-io công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Nominal Extractors trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/nominal-io/skills/tree/main/skills/nominal-extractors
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nominal-io/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/nominal-extractors .claude/skills/nominal-extractors
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Nominal Extractors trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Nominal Extractors ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Nominal Extractors với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Nominal containerized extractors

A containerized extractor is a Docker image Nominal runs during ingest: uploaded files are mounted as inputs, your parser writes outputs, and Nominal ingests the declared files into a dataset. Use one for recurring proprietary or unsupported formats, including uploads from the web app. For supported formats or a one-off local conversion, use ordinary ingestion. They may also be used for doing any consistent post-processing or timestamp alignment that may be required for file formats that are supported natively (e.g., post processing the timestamp column in otherwise valid .parquet files).

The ContainerizedExtractor is the stable identity uploaders select; its versioned ContainerImages carry the execution contract (inputs, parameters, output format, timestamp defaults, exit-code mappings). Registration and activation are separate. The active image runs future jobs. Output measurements become channels, timestamps place samples on a timeline, and supported tags distinguish series within the dataset.

How a run works

The platform talks to the container only through the environment and the filesystem, so any language that runs in a linux/amd64 image can implement an extractor:

  1. An uploader submits files, parameter values and tags, through the web app or the SDK's add_containerized.
  2. Nominal resolves job-level timestamp metadata (the request's override, else the image default), mounts each file under /input, and runs the active image as a non-root user with each input's path and each parameter's value in its registered environment variable and the output directory in $OUTPUT_DIR.
  3. The container parses, writes outputs under $OUTPUT_DIR plus a manifest.json describing each one, and exits.
  4. Exit 0: Nominal uploads and ingests the declared files. Non-zero: the job fails with the structured error the container wrote to the termination log (/dev/termination-log), else the image's exit-code mapping for that exit status.

Contract is the authoritative wire-level description. Explain it in these terms when someone is new to extractors, before any SDK detail. Choose the implementation path by the parser, not the SDK:

PathUse whenConsequence
Python framework (nominal.experimental.extractor, nominal>=1.171)The parser is or can be PythonDecorators bind inputs and parameters, write manifest.json, report structured errors, and export registration metadata from one declaration.
Direct contract implementationAnother language, or wrapping an existing binaryThe code reads the environment and writes manifest.json and any structured error itself; registration metadata is kept in a checked-in nom config or script and tested against the code.

Everything else runs outside the container, whatever language the extractor uses: registration with the nom CLI or the Python SDK, scripted ingest with the Python SDK, and no-code uploads through the web app.

Guide the next decision

Inspect existing parser/registration code and the project README first. Derive file facts from samples or a format specification; reuse settled preferences from the conversation and project, including the implementation language. Separate observed facts, agreed choices, and unresolved assumptions. Recommend a choice with its consequence, then ask only the next question blocking progress. Do not repeat settled questions or turn every modeling detail into an intake questionnaire.

Keep executable choices and defaults in parser/registration code, with concise rationale in the project README (create one for a new project). Read live deployed state from Nominal when available; local code expresses intent, not proof of deployment. Do not add a parallel JSON state/config file or a new decision document. Modeling covers what to settle and an illustrative README note.

Work from the relevant stage

New work follows these stages; debugging or existing work resumes where the evidence points. Read the linked reference before changing that stage. Progress when its evidence is adequate and the action is authorized; an already agreed contract needs no repeated approval.

StageInputOutput and evidence to progress
Understand the filesSamples/spec, existing code and README, intended comparisonsObserved structure, measurements, units, clocks, dimensions; name missing evidence instead of guessing.
Agree on the contractObservations and existing preferencesImplementation path, inputs/parameters, output mode, timestamps, tags, units, and failure codes with rationale; resolve consequential unknowns using modeling.
Author and validate locallyContract and representative fixturesParser and focused checks of decoded values/time, declared outputs, error codes and edge cases; report actual results using authoring and contract.
Build and registerValidated parser, Docker, configured Nominal accessSettled base image, image archive with verified architecture, a passing local conformance run, registration script or config, and observed registration result; use registration.
Activate and operateRegistered image, authorization and representative uploadObserved active image, terminal extraction job and completed dataset-file ingestion, then inspect resulting data; use running.

Check only capabilities needed for the current stage. Inspect mentioned paths/profiles before asking for missing inputs, and reuse configured authentication rather than requesting tokens in chat. With the parser's toolchain but no Docker, validate locally and hand off build commands. With Docker but no Nominal access, build, run the conformance check, and hand off a registration script or config and exact commands. With none of these, author/review what the supplied evidence supports. Keep project outputs in the project, and distinguish executed checks from instructions still awaiting execution; generated commands do not prove build, registration, activation, or successful ingest.

Keep the execution contract aligned

  • Write outputs under $OUTPUT_DIR, declare every intended output, and write manifest.json last; the Python runtime writes it for you and owns the name.
  • Register the output format the code implements, MANIFEST for new work. registration_kwargs() sets it for @manifest_extractor; explicit register_image calls and the CLI otherwise default to PARQUET.
  • Keep environment-variable names identical across code, registration, and callers' sources/arguments; registration never infers them from code in other languages.
  • Report expected failures as structured errors in the termination log, with stable, non-reserved error codes and distinct exit statuses, and register an exit-code mapping for each status where the registration path supports it. Never log the container environment; it can carry credentials.
  • Build for linux/amd64 and confirm with docker image inspect <tag> --format '{{.Os}}/{{.Architecture}}' before registration; a READY image does not prove it can run.
  • Registration does not activate an image. Verify the active image after activation.
  • Confirm channel prefixes, units and videos on the target deployment after a representative ingest; some ingest routes ignore those manifest options.
  • Wait out both stages of an ingest — the container, then its files — with job.as_files_ingested(timeout=...), and check each file's status; see running.

Locate bundled resources

references/... paths are relative to the installed directory containing this SKILL.md, not the project or current working directory. Resolve that location through the host's skill path/resource interface, and read them through the host interface when the resources have no filesystem paths. This skill bundles no executables: the checks it asks for are ordinary docker, nom, Python SDK and project-toolchain commands, so a project or CI pipeline runs them directly rather than depending on an agent's plugin cache.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Nominal Extractors làm được gì?

Use when building, testing, registering, or debugging Nominal containerized extractors — Docker images, written in any language, that convert proprietary or unsupported files during ingest. Covers the container contract (environment variables, mounted inputs, manifest.json, structured errors in the termination log, exit codes), the Python extractor framework (nominal.experimental.extractor decorators), image registration (register_image, registration_kwargs, nom container), and containerized ingest failures. For ordinary ingestion of formats Nominal already parses, use nominal-ingest instead.

Vì sao nên dùng Nominal Extractors trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Nominal Extractors là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Nominal Extractors trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/nominal-io/skills/tree/main/skills/nominal-extractors. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Nominal Extractors?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Nominal Extractors với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Nominal Extractors với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Nominal Extractors có miễn phí không?

Có. Kỹ năng này được nominal-io phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇