agentsclimarketplace

Kosha

Skill thapakrish/sanskrit-skills/sanskrit-skills/kosha

Sanskrit vocabulary and lexicon skill covering word meanings, synonyms (paryaya), etymology (nirukta), gender, and technical terminology. Based on Amarakosha and traditional lexicography. Use when looking up Sanskrit word meanings, finding synonyms, explaining word derivations, identifying gender of nouns, or exploring vocabulary by category (gods, nature, body parts, etc.).From its SKILL.md

Install
npx -y skills add thapakrish/sanskrit-skills --skill kosha

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

5.6 KB, ~1.6k tokens by cl100k_base, as published. Nobody here has run it

Kosha (Sanskrit Lexicon)

Provide vocabulary assistance based on traditional Sanskrit lexicography, especially the Amarakosha.

Workflow

When explaining a word:

1. Basic Entry

Word: सूर्यः
Gender: पुंल्लिङ्ग (masculine)
Meaning: The sun
Category: ज्योतिष/खगोल (Astronomy)

2. Paryaya (Synonyms)

List synonyms from Amarakosha tradition:

सूर्यः = आदित्यः, दिवाकरः, भास्करः, रविः,
        भानुः, अर्कः, मार्तण्डः, सविता,
        पूषा, मिहिरः, तपनः, प्रभाकरः

3. Nirukta (Etymology)

Explain derivation:

सूर्य = सृ (to move) + क्यप् → "one who moves (across the sky)"
दिवाकर = दिवा + कर → "day-maker"
भास्कर = भास् + कर → "light-maker"

4. Usage Context

Note any special usages, compounds, or literary significance.

Coverage & Online Fallback Policy

The local markdown references are curated and intentionally finite. If a requested word is missing, use this fallback chain:

  1. Local first (required): check references/paryaya.md and references/amarakosha.md.
  2. Normalize before declaring miss: handle common script/transliteration variants (Devanagari/IAST/HK).
  3. Trusted web lookup (fallback): consult authoritative lexical sources (e.g., Cologne/Monier-Williams, Apte, Ambuda, DSAL-backed dictionaries).
  4. Return with provenance: each synonym set must include source label + link.
  5. Confidence note: mark output as:
    • exact_headword_match
    • lemma_or_inferred_match
    • not_found_in_curated_amarakosha

Source Quality Rules

  • Prefer primary lexicons/dictionaries first for lexical evidence: Cologne (MW), Apte, DSAL, and Ambuda lexicons.
  • Treat secondary portals (e.g., general aggregators, blog-style explainers) as supplementary only.
  • Avoid unverified blogs/forum posts as primary evidence.
  • If sources disagree, show the overlap first, then source-specific variants.
  • If no reliable source is found, say so explicitly instead of guessing.

Quick Lookup Format

For simple queries, provide concise entries:

WordGenderMeaningKey Synonyms
अग्निःपुं.fireवह्निः, पावकः, हुताशनः
जलम्न.waterवारि, नीरम्, अम्बु, उदकम्
वायुःपुं.windपवनः, मारुतः, अनिलः

References

Detailed vocabulary by category:

Amarakosha Structure

The Amarakosha (अमरकोशः) by Amarasimha has three kandas:

1. स्वर्गादिकाण्ड (Heavenly)

  • देवता (Gods), दिक् (Directions), काल (Time)

2. भूम्यादिकाण्ड (Earthly)

  • भूमि (Earth), नगर (City), वनस्पति (Plants), मृग (Animals), मनुष्य (Humans)

3. सामान्यादिकाण्ड (General)

  • विशेष्य-विशेषण (Noun-Adjective), नानार्थ (Polysemous), अव्यय (Indeclinables)

Gender Quick Rules

Generally Masculine (पुंल्लिङ्ग)

  • Mountains, oceans, days of week, trees (as individuals), agent nouns

Generally Feminine (स्त्रीलिङ्ग)

  • Rivers, abstract nouns in -ति/-ता, creepers, earth

Generally Neuter (नपुंसकलिङ्ग)

  • Fruits, metals, many body parts, abstract concepts (सुखम्, दुःखम्)

Example Entry

Query: Synonyms for "moon"

चन्द्रः (Moon) — पुंल्लिङ्ग

SanskritEtymologyMeaning
चन्द्रः√चन्द् + रक्the shining one
इन्दुः√उन्द्the moist one
कुमुदबान्धवःकुमुद + बान्धवfriend of water-lilies
विधुः√व्यध्the piercer (of darkness)
सुधांशुःसुधा + अंशुhaving nectar-rays
निशाकरःनिशा + करnight-maker
शशाङ्कःशश + अङ्कhare-marked
मृगाङ्कःमृग + अङ्कdeer-marked
सोमः√सुthe Soma

Scripts

Utilities in shared/scripts/:

cd shared/scripts && uv sync
ScriptUse
transliterate.pyConvert between Devanagari/IAST/HK
dhatu.pyLook up verbal roots (for etymology)

Related Skills

NeedUse
Grammar analysisvyakarana
Verse analysissloka
Literary contextsahitya

What ships with it: 4 files

36.9 KB alongside SKILL.md

references/

Keep looking

Skills are one crate of 326,851. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.