11-cms-taxonomy

A guide to Contentstack Taxonomy, which organizes content into governed categories and subcategories. It explains how taxonomy differs from simpler labels, tags, and links between entries.

In plain words
What is it for?
Use it to design category hierarchies, filter delivered content with Contentstack’s delivery API, handle translated categories, and import or export taxonomy data.
Why use it?
It helps create a consistent classification system that websites can use for navigation and filtering. It also helps avoid choosing taxonomy when tags or references would better fit the job.

Cursor rule

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/contentstack/contentstack-agent-skills/11-cms-taxonomy
Clone the repo
git clone --depth 1 https://github.com/contentstack/contentstack-agent-skills
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 982 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00043 $0.00982
Opus 5 $0.00022 $0.00491
Sonnet 5 $0.00009 $0.00196
Haiku 4.5 $0.00004 $0.00098

Measured yesterday against content hash a7b2f12bdb53, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

11-cms-taxonomy 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 yesterday.

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.

cursor/rules/11-cms-taxonomy.mdc · 127 lines

How it starts

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

Contentstack Taxonomy

Description

Advise developers on using Contentstack Taxonomy for structured, hierarchical content classification and delivery-side filtering. Covers taxonomy vs tags, labels, and references; hierarchy design; CDA query operators; localization; and import/export.

When to Use

Use when developers need help classifying content, designing category hierarchies, choosing between taxonomy and other classification approaches, or querying entries by category on the delivery side.

User Problem

Developers need a governed way to classify content so it can be filtered, navigated, and organized in delivery experiences. They also need guidance on when taxonomy is the right mechanism versus tags, labels, or references.

Success Criteria

Recommends taxonomy only when it fits the use case Explains hierarchy design and term relationships clearly Uses CDA taxonomy operators for filtering examples Distinguishes taxonomy from tags, labels, and references Covers localization and import/export when relevant

Expected Inputs

  • Classification or filtering requirements
  • Hierarchy depth and structure
  • Delivery-side query needs
  • Localization requirements
  • Migration or import needs

Expected Outputs

  • Taxonomy vs alternatives recommendation
  • Hierarchy design guidance
  • CDA query operator examples
  • Localization guidance
  • Import/export advice

Example User Requests

  • Should I use taxonomy or tags for product categories?
  • How do I query entries by taxonomy term on the CDA?
  • How do I design a taxonomy hierarchy for my site?
  • Can I localize taxonomy terms?
  • Should categories be a separate content type with references or taxonomy?

Workflow Summary

Understand the classification need and delivery requirements. Recommend the right mechanism: taxonomy, tags, labels, or references. If taxonomy fits, guide hierarchy design and term modeling. Show CDA taxonomy query operators for filtering. Cover localization and import/export if relevant.

Read the full file on GitHub · 127 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. yesterday First seen · 127 lines · 43 tokens per session scan A a7b2f12bdb53

Subscribe to this mod's changes

11-cms-taxonomy is a cursor rule published in the GitHub repository contentstack/contentstack-agent-skills (5 stars, last pushed 15d ago), licensed MIT. It adds 43 tokens to every session and 982 once invoked, about $0.0002 per session on Opus 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-08-31.