sloka_skill

This skill provides detailed word-by-word analysis, grammar, meter, and interpretations of Sanskrit verses to reveal structure and meaning.
  • Python

2

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill thapakrish/sanskrit-skills --skill sloka

  • SKILL.md5.3 KB

Overview

This skill performs detailed, scholarly analysis of individual Sanskrit verses (shlokas). It delivers word-by-word splits, grammatical parsing, syntactical reordering (anvaya), meter (chandas), figures of speech (alankara), traditional commentary highlights, and clear English meaning. Use it when you have a specific verse to examine closely rather than for broad text-level topics.

How this skill works

On a provided verse the skill first splits words (padachheda), resolves sandhi where needed, and gives morphological tags for each token. It then constructs an anvaya (prose order), verifies meter using metrical tools, identifies alankaras, and summarizes traditional commentators' positions before offering literal and interpretive translations.

When to use it

  • You have a single verse and need literal and contextual meaning.
  • You want a word-by-word grammatical breakdown (vibhakti, lakara, gender/number).
  • You need meter identification and syllabic patterns for recitation or study.
  • You seek a concise synthesis of traditional commentaries on a shloka.
  • You want clear prose reordering (anvaya) to resolve poetic inversion.

Best practices

  • Provide the verse in Devanagari or reliable transliteration for accurate splitting.
  • If sandhi is complex, accept suggested splits and note uncertainties.
  • Ask follow-up questions when a word’s grammatical relation is ambiguous.
  • Request meter verification output if scansion is critical for chanting.
  • Use this skill together with sahitya for author/text-level background.

Example use cases

  • Analyze Bhagavad Gita verse for classroom translation and commentary.
  • Break down a devotional stanza to teach students word grammar and meaning.
  • Verify meter and syllable counts before composing or reciting a stanza.
  • Compare readings from Mallinatha and Shankaracharya for interpretive differences.
  • Resolve ambiguous modifiers by producing alternative anvayas with justification.

FAQ

Yes; it attempts sandhi splitting and samasa decomposition and will flag segments where multiple analyses are possible.

Will it always name the meter?

It names the meter when the syllabic pattern matches known forms; otherwise it provides detailed laghu/guru patterns and syllable counts.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
sloka skill by thapakrish/sanskrit-skills | VeilStrat