is-ai-native: Command for GitHub Copilot

.github/prompts/add-new-primitive-from-vendor-docs.prompt.md

add-new-primitive-from-vendor-docs is a command for GitHub Copilot from webmaxru/is-ai-native. It costs 19 tokens per session (821 once invoked), scanned A, original, MIT.

A development command for adding a new built-in AI capability to an application from official vendor documentation. It checks whether the capability is real, applies to a repository, and is meaningfully different from capabilities already tracked before implementing it.

In plain words
What is it for?
Use it to review documented assistant capabilities, decide whether they need a new or existing primitive, and implement a justified primitive end to end.
Why use it?
It helps avoid adding duplicate or unsupported AI features and keeps the application’s configuration and documentation aligned with vendor evidence.

Command for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt. Also seen: reads ~/.codex paths; mentions Codex.

This is webmaxru/is-ai-native's own configuration. It tells GitHub Copilot how to work on is-ai-native itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything is-ai-native configures →

Reuse

Borrowing it

Nothing to install: this file belongs to webmaxru/is-ai-native. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/webmaxru/is-ai-native/main/.github/prompts/add-new-primitive-from-vendor-docs.prompt.md
Clone the repo
git clone --depth 1 https://github.com/webmaxru/is-ai-native

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for add-new-primitive-from-vendor-docs

README.md
[![agentmods](https://agentmods.dev/badge/commands/webmaxru/is-ai-native/add-new-primitive-from-vendor-docs/github.svg)](https://agentmods.dev/commands/webmaxru/is-ai-native/add-new-primitive-from-vendor-docs)
Your own site
<a href="https://agentmods.dev/commands/webmaxru/is-ai-native/add-new-primitive-from-vendor-docs"><img src="https://agentmods.dev/badge/commands/webmaxru/is-ai-native/add-new-primitive-from-vendor-docs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for add-new-primitive-from-vendor-docs

Your own site · 80×15
<a href="https://agentmods.dev/commands/webmaxru/is-ai-native/add-new-primitive-from-vendor-docs"><img src="https://agentmods.dev/badge/commands/webmaxru/is-ai-native/add-new-primitive-from-vendor-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 821 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.00821
Opus 5.5 $0.00008 $0.00328
Sonnet 5.5 $0.00004 $0.00164
Haiku 4.5 $0.00002 $0.00082

Measured 16d ago against content hash 026c9dc60b37, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

add-new-primitive-from-vendor-docs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 16d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/prompts/add-new-primitive-from-vendor-docs.prompt.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Review the official assistant customization URLs listed in the URLs To Monitor section of docs/configuration.md, then determine whether the documented capability should become a new primitive in this app rather than just an update to an existing primitive.

Use packages/core/config/primitives.json, packages/core/config/assistants.json, and docs/configuration.md as the source of truth for the current model.

Your task:

  1. Verify from official vendor documentation that the capability is real, repository-scoped, and meaningfully distinct from the primitives already tracked by this app.
  2. Decide whether the capability belongs in an existing primitive or requires a new primitive. Explain that decision explicitly before editing files.
  3. If a new primitive is justified, add it to packages/core/config/primitives.json with:
    • a clear user-facing name
    • a category that is either existing and semantically correct, or a new one only if the concept is truly distinct
    • a description that explains what the primitive is and why it matters
    • docLinks that include the most relevant official sources across assistants
    • assistant-specific repository-scoped scan patterns only where vendor docs clearly support them
  4. Update packages/core/config/assistants.json if assistant metadata links should also change as part of the same documentation update.
  5. Update docs/configuration.md so the official resource matrix, URL list, and any schema examples stay in sync with the code. Add a specific source link for every primitive and assistant row you touch.
  6. If the new primitive is represented only by a shared config file such as .codex/config.toml, explicitly document that file-presence scanning is a proxy and that the app is not validating the specific subsection unless you also implement parser logic.
  7. Review whether backend tests need to be added or updated for:
    • config loading
    • scanner matching
    • scoring implications
    • any renamed assistant display strings or changed expectations
  8. Run the relevant backend tests and summarize exactly what changed, why it changed, and any remaining proxy limitations.

Constraints:

  • Prefer exact vendor-documented file names and entrypoints over loose folder globs when the docs specify a suffix or required filename.
  • Keep repository scanning limited to shareable repo files. Do not add user-only or machine-local paths as scan patterns.
  • Call out legacy-vs-current formats explicitly instead of silently replacing one with the other.
  • Do not invent support for a primitive when the vendor docs only show an adjacent or partially related feature.
  • Do not add a new primitive if the capability is better represented as a documented expansion of an existing primitive.
  • If the app can support the new primitive entirely through configuration, prefer that over introducing new backend logic.
  • If new backend logic is genuinely required, implement the smallest defensible change and add tests for it.
  • If you prepare a pull request description, every single update or addition described in that PR body must include its own official source URL with a fragment link to the exact section, heading, or anchored reference that justifies that specific change. Do not group multiple changes under one generic source citation, and do not use bare top-level doc URLs when a deeper fragment is available.

Output expectations:

  • State whether this was an existing-primitive update or a new primitive addition.
  • List the exact assistants affected.
  • List the exact repository-scoped resources now counted.
  • Call out any proxy scanning behavior, limitations, or non-parsed config sections.
  • If you create or draft a PR description, list each update or addition separately and attach the exact supporting source URL with fragment link directly to that item.

Read the full file on GitHub · 47 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 16d ago First seen · 47 lines · 19 tokens per session scan A 026c9dc60b37

Subscribe to this mod's changes

add-new-primitive-from-vendor-docs is a command published in the GitHub repository webmaxru/is-ai-native (5 stars, last pushed 13d ago), licensed MIT. It adds 19 tokens to every session and 821 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-19.

Related

add-new-primitive-from-vendor-docs compared with commands from other repositories

add-new-primitive-from-vendor-docs next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
add-new-primitive-from-vendor-docswebmaxru/is-ai-nativeCommand513d agoMITA19GitHub Copilot
speckit.checklistgithub/spec-kit-copilotCommand303d agoMITA13Claude Code
speckit.specifygithub/spec-kit-copilotCommand303d agoMITA13Claude Code
speckit.convergegithub/spec-kit-copilotCommand303d agoMITA28Claude Code
speckit.analyzegithub/spec-kit-copilotCommand303d agoMITA26Claude Code
speckit.implementgithub/spec-kit-copilotCommand303d agoMITA14Claude Code
lifecyclegithub/spec-kit-copilotCommand303d agoMITA0Claude Code