شعار Nominal Extractors

Nominal Extractors

مؤسسة
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.

نظرة عامة

الناشرnominal-io
المستودعskills
اسم المهارةnominal-extractors
النجوم
40
التفريعات
0
الملفات المرفقة
6
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 6

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها nominal-io على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Nominal Extractors في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/nominal-io/skills/tree/main/skills/nominal-extractors
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Nominal Extractors في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Nominal Extractors تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Nominal Extractors بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

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.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي 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.

لماذا تستخدم Nominal Extractors على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Nominal Extractors عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Nominal Extractors في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/nominal-io/skills/tree/main/skills/nominal-extractors. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Nominal Extractors؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Nominal Extractors؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Nominal Extractors معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Nominal Extractors مجانية؟

نعم. نشرها nominal-io على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇