domain-knowledge

Manages the user's personal domain knowledge registry — company intelligence seeded per sector that the India Proxy Agent uses before searching. Activates when user runs /curiosity-stack:knowledge, says "manage my domain knowledge", "add company to my knowledge", or clicks the "missed company" add form after an India Proxy Agent run. Also activates after any India Proxy Agent output to surface the inline add prompt.

13 stars

Best use case

domain-knowledge is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Manages the user's personal domain knowledge registry — company intelligence seeded per sector that the India Proxy Agent uses before searching. Activates when user runs /curiosity-stack:knowledge, says "manage my domain knowledge", "add company to my knowledge", or clicks the "missed company" add form after an India Proxy Agent run. Also activates after any India Proxy Agent output to surface the inline add prompt.

Teams using domain-knowledge should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/domain-knowledge/SKILL.md --create-dirs "https://raw.githubusercontent.com/ameya85/curiosity-stack/main/skills/domain-knowledge/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/domain-knowledge/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How domain-knowledge Compares

Feature / Agentdomain-knowledgeStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Manages the user's personal domain knowledge registry — company intelligence seeded per sector that the India Proxy Agent uses before searching. Activates when user runs /curiosity-stack:knowledge, says "manage my domain knowledge", "add company to my knowledge", or clicks the "missed company" add form after an India Proxy Agent run. Also activates after any India Proxy Agent output to surface the inline add prompt.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

## Design system — mandatory on all HTML artifacts

Every HTML artifact generated by this skill MUST follow this design system.
No exceptions. Never invent colours, never use dark backgrounds, never use
purple or blue as primary backgrounds.

**Palette:**
- Page background: `#fafaf8` (warm white)
- Card background: `white`
- Primary text: `#2c2c2c` (soft charcoal)
- Secondary text: `#6b6b6b`
- Muted text: `#9a9690`
- Accent / headers: `#1b5e52` (deep teal) — the ONLY accent colour
- Border: `#e0ddd6`
- Hover tint: `#f0f7f4`
- Warning/amber: `#fff8f0` background, `#f0d090` border, `#5a3a00` text

**Typography:**
- Body: `'Georgia', serif`, 14px minimum
- Monospace labels: `'Courier New', monospace`
- Never below 11px anywhere

**Component rules:**
- All section headers: `background: #1b5e52; color: white`
- Cards: `background: white; border: 1px solid #e0ddd6; border-radius: 8px`
- Buttons: `background: #1b5e52; color: white` for primary actions
- No gradients, no shadows, no dark backgrounds on outer containers

**Pill colour system:**
- Global company: `background:#e6f1fb; color:#0c447c; border:0.5px solid #85b7eb`
- India listed: `background:#eaf3de; color:#27500a; border:0.5px solid #97c459`
- India private: `background:#faeeda; color:#633806; border:0.5px solid #ef9f27`
- Flagged: `background:#fcebeb; color:#791f1f; border:0.5px solid #f09595`
- Neutral segment: `background:#f3f4f6; color:#374151; border:0.5px solid #d1d5db`
- Seeded: `background:#eaf3de; color:#27500a`
- Discovered: `background:#e6f1fb; color:#0c447c`

**Attribution footer — mandatory on every artifact:**
```html
<div style="margin-top:32px;padding-top:12px;border-top:1px solid #e0ddd6;
  display:flex;justify-content:space-between;align-items:center;
  font-family:'Courier New',monospace;font-size:10px;color:#9a9690">
  <span>Curiosity Stack is not a SEBI registered investment advisor · Not investment advice · Makers accept no liability · For research only</span>
  <a href="https://curiositystack.app" target="_blank"
    style="color:#1b5e52;font-weight:700;text-decoration:none">
    ⬡ curiositystack.app
  </a>
</div>
```

---


# Domain Knowledge Skill

## Purpose

A personal registry of company intelligence the user knows from their
own research, experience, or domain expertise. Scoped per sector.
Used by the India Proxy Agent as the first source before any search.

The user's curated knowledge surfaces companies that no search would
find — because they're pre-coverage, pre-analyst, or simply not indexed
well. This is the highest-value layer of the India Proxy Agent.

---

## Two entry points

### Entry Point A — Post-agent inline prompt
Appears at the bottom of every India Proxy Agent output.
Minimal form: company name + sub-segment + note.
On save: fires sendPrompt() to confirm and writes to local.md.

### Entry Point B — Standalone manager
/curiosity-stack:knowledge opens the full Domain Knowledge Manager UI.
Sector tabs, full company list, add/edit/remove controls.

---

## Domain Knowledge Manager UI

Render as an interactive HTML artifact with this structure:

### Header
```
Domain knowledge                          [+ Add company]
Your curated company intelligence · used by India Proxy Agent
```

### Sector tabs
Tabs for each sector the user has seeded companies in, plus "All sectors".
Tabs are generated dynamically from local.md domain_knowledge sections.
Default tabs if empty: Cybersecurity · AI / Data · Fintech · Energy · All

### Company list
Each company shown as a row:
```
[colour dot] [Company name]  [Sub-segment badge]  [Note]  [Seeded/Discovered]  [Edit] [Remove]
```

**Colour dot:** matches sector colour from scenario library
**Seeded** (green badge) — added by the user
**Discovered** (blue badge) — found by the agent and confirmed by user

### Add form
Appears when user clicks "+ Add company" or from the post-agent prompt:
```
[Company name input] [Sub-segment input] [Note / source input] [Save]
```
Three fields. No YAML shown.

### On save
Generate the YAML block for the user to paste into local.md:
```yaml
domain_knowledge:
  [sector]:
    - name: [company name]
      segment: [sub-segment]
      note: [user's note]
      source: seeded
      added: [date]
```

Show as a copy-paste block below the form with a "Copy YAML" button.
Also fires sendPrompt() to confirm the addition.

---

## local.md schema — domain_knowledge section

```yaml
domain_knowledge:
  cybersecurity:
    - name: Cross Identity
      segment: IAM / PAM converged
      note: KuppingerCole recognised, converged IAM+PAM platform
      source: seeded
      added: 2026-03-23
    - name: Spharaka Networks
      segment: Autonomous SOC
      note: India's fully autonomous SOC, OT security focus, NASSCOM deep tech
      source: seeded
      added: 2026-03-23
    - name: TAC Security
      segment: GRC / Risk
      note: BSE listed, enterprise attack surface management
      source: seeded
      added: 2026-03-23
  ai_data:
    - name: Infobay AI
      segment: Data annotation / evaluation
      note: Formerly EduGorilla, listed
      source: seeded
      added: 2026-03-23
  fintech:
    - name: [company]
      segment: [sub-segment]
      note: [note]
      source: seeded
      added: [date]
```

Sector keys: cybersecurity · ai_data · fintech · energy · pharma ·
ev_batteries · green_hydrogen · space · semiconductor · general

---

## How the India Proxy Agent uses domain knowledge

1. Agent reads domain_knowledge from local.md for the relevant sector
2. Seeded companies become the first column in the India angle table
3. Agent validates each seeded company (listing status, name currency,
   segment fit) before including
4. If validated → include with "Seeded" label in context note
5. If cannot validate → include with ⚑ flag and explanation
   Never silently drop a seeded company
6. Agent then searches for additional companies to add to the table
7. Newly discovered companies may be added to domain knowledge
   via the post-agent "missed company" form

---

## Seeded vs Discovered labels in output

**Seeded** — user added this company from their own knowledge
Context note includes: "Seeded from domain knowledge"
This signals to the reader: this is expert curation, pre-coverage

**Discovered** — agent found this company via source hierarchy
Context note includes sources found in

No source badges inside company name pills — ever.
All attribution in the context notes below.

---

## Progressive disclosure

The domain knowledge manager is not shown upfront to new users.
It surfaces:
1. After first India Proxy Agent run — "Add a missed company"
2. After 3+ proxy agent runs — "Manage your domain knowledge"
3. On explicit command — /curiosity-stack:knowledge

Never show the full manager UI unless requested or after sufficient usage.
The post-agent inline form is the primary entry point.

Related Skills

watchlist-tracker

13
from ameya85/curiosity-stack

Activate when Cowork is opened and watchlist monitoring cadence has elapsed. Activate when user says "check my watchlist", "what's new on my watchlist", "run watchlist", "any updates", "watchlist digest", or configures monitoring via /curiosity-stack:watchlist command. ALSO activate immediately — opening the watchlist UI — when user says any of: "add to watchlist", "add this to watchlist", "watch this", "monitor this", "put this on my watchlist", "track this", "add [topic] to watchlist". When triggered by an add request, open the UI with the topic pre-filled. Do NOT activate on every session — check last_run date in local.md first.

thesis-stress-test

13
from ameya85/curiosity-stack

Activate when user runs /curiosity-stack:stress-test or says "stress test this", "challenge this thesis", "what could go wrong", "bull vs bear", or after a decomposition output when user wants to pressure-test their conclusion.

source-guide

13
from ameya85/curiosity-stack

Activate when user asks where to find information at any layer, or when they are stuck and need pointers to go deeper. Always check connected personal sources first.

source-credibility

13
from ameya85/curiosity-stack

Activate at Layer 1 and Layer 5 of any decomposition to surface the user's highest-rated sources for the current sector and layer. Activate after any session to prompt source rating. Activate when user says "rate this source", "how good is [source]", "which sources should I use for [sector]", or "update my sources". Never activate mid-conversation unless at L1 or L5 transition.

setup

13
from ameya85/curiosity-stack

Activate on first use or when user says "setup", "configure", "connect my notes", "link my drive", "how do I connect", or on first session with no prior configuration. Also reads curiosity-stack.local.md if it exists — skip steps already answered there.

sebi-compliance

13
from ameya85/curiosity-stack

ALWAYS active. Apply to every single response, every output, every command in this plugin. This skill takes absolute priority over all other skills. Never disabled, never overridden. Intercept and redirect any request that crosses into investment advice territory.

scenario-library

13
from ameya85/curiosity-stack

Activate when user says "I don't know what to research", "give me ideas", "what can I decompose", "show me scenarios", "browse topics", "not sure where to start", "what topics are available", or runs /curiosity-stack:scenarios. Also activate on first session if local.md session_count is 0 or empty — surface the library automatically after the welcome message. Never activate mid-decomposition.

reading-list

13
from ameya85/curiosity-stack

Activate after every completed decomposition to generate 5 curated reading recommendations specific to the topic and layers explored. Also activate when user asks "what should I read", "where do I go deeper", "give me links", "reading list", or "resources on this".

output-generator

13
from ameya85/curiosity-stack

Activate when a user selects their output format after completing a decomposition. Generates exactly one of: Value Chain diagram, interactive Mindmap, Research Note, or Research Brief PDF. Never generate all — only what was selected. Always include SEBI disclaimer, attribution badge, and invisible source comment.

decomposition-library

13
from ameya85/curiosity-stack

Activate after every completed decomposition to offer saving. Activate when user says "save this", "add to library", "show my library", "what have I researched", "past decompositions", "have I done this before", or starts a decomposition on a topic that may already exist in the library. Always check library/ folder silently at the start of any new decomposition.

curiosity-framework

13
from ameya85/curiosity-stack

The core 6-layer decomposition framework. Activates when a user describes any topic, technology, market signal, or global event. Also activates when a scenario card is clicked via sendPrompt, or when /curiosity-stack:decompose is run. Guides the user through L0 to L6 using Socratic conversation — one layer at a time.

company-discovery

13
from ameya85/curiosity-stack

Activate when user wants to find actual companies in a value chain layer, especially Indian proxies for global themes. Always check connected sources first. Always apply SEBI compliance — research framing only.