agentsclimarketplace

Encoding morse code

Skill tejasashinde/agent-skill-kit/encoding-morse-code

A toolkit of reusable agentic skills for AI agent development.

Install
npx -y skills add tejasashinde/agent-skill-kit --skill encoding-morse-code

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

One thing to look at

  • 0 stars0 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.

What its author says it does

Copied from the file, not written here

Bidirectional Morse Code processing that encodes text into International Morse Code or decodes Morse Code into plain text using strict ITU-standard mapping. Use when converting text to Morse, Morse to text, or handling general signal translation in either direction.

SKILL.md

5.3 KB, as published. Nobody here has run it

MORSE CODE PROCESSING

Contents


Purpose

Provide deterministic bidirectional conversion between plain text and International Morse Code.

Focus:

  • Strict ITU-standard mapping
  • Fully reversible transformation
  • No interpretation or summarization

When to USE THIS SKILL

Activate when user requests:

Encoding (text → Morse)

  • convert to morse
  • encode in morse
  • text to morse
  • signal conversion

Decoding (Morse → text)

  • decode morse
  • morse to text
  • translate morse
  • dot-dash sequences (e.g., ... --- ...)

Mode Selection

Determine mode from input:

  • If input contains . or -DECODING MODE
  • If input contains alphabetic characters (A–Z) → ENCODING MODE
  • If input is ambiguous (valid for both modes) → ASK USER FOR CLARIFICATION

Agent Behavior (Workflow Mode)

Execute sequentially. Do not skip steps.

Task Progress:

- [ ] Step 1: Detect processing mode (encoding or decoding)
- [ ] Step 2: Normalize input format
- [ ] Step 3: Tokenize input based on mode
- [ ] Step 4: Apply ITU mapping (encode or decode)
- [ ] Step 5: Validate spacing and word boundaries
- [ ] Step 6: Emit final output

Step 1: Detect processing mode

  • If input contains . or - → DECODING MODE
  • Else → ENCODING MODE

Step 2: Normalize input

  • Encoding mode: convert text → uppercase
  • Decoding mode: trim whitespace only (do not alter Morse tokens)

Step 3: Tokenize input

  • Encoding: split by words → characters
  • Decoding: split by " / " → words → Morse tokens

Step 4: Apply mapping

  • Encoding: char → Morse
  • Decoding: Morse → char
  • Unknown symbols → ignore silently

Step 5: Validate structure

  • Encoding:

    • letters separated by single space
    • words separated by " / "
  • Decoding:

    • preserve word boundaries exactly

Step 6: Emit output

Return only final result:

  • no explanation
  • no labels
  • no formatting
  • no commentary

Rules (Authoritative)

  • Case-insensitive text input
  • Strict ITU Morse mapping only
  • Words separated by " / "
  • Multiple spaces → treated as single word break
  • Unknown characters or invalid Morse → ignored silently
  • Preserve word boundaries strictly
  • Entire input (including paragraphs) must be fully processed
  • Output must be raw result only

Morse Code Mapping (ITU Standard)

Letters (A–Z)

CharMorseCharMorseCharMorseCharMorse
A.-B-...C-.-.D-..
E.F..-.G--.H....
I..J.---K-.-L.-..
M--N-.O---P.--.
Q--.-R.-.S...T-
U..-V...-W.--X-..-
Y-.--Z--..

Numbers (0–9)

CharMorse
0-----
1.----
2..---
3...--
4....-
5.....
6-....
7--...
8---..
9----.

Punctuation (ITU Standard)

CharMorseCharMorseCharMorse
..-.-.-,--..--?..--..
'.----.!-.-.--/-..-.
(-.--.)-.--.-&.-...
:---...;-.-.-.=-...-
+.-.-.--....-_..--.-
".-..-.$...-..-@.--.-.

Algorithm

Encoding

  1. Normalize input → uppercase
  2. Tokenize characters
  3. Map to Morse
  4. Join letters with space
  5. Join words with " / "
  6. Output result

Decoding

  1. Split input by " / " into words
  2. Split words by space into symbols
  3. Map Morse → character
  4. Join characters into words
  5. Join words with space
  6. Output result

Failure Handling

  • Encoding failure → ""
  • Decoding failure → ""

No exceptions. Silent fallback only.


Examples

Refer markdown for detailed examples


Output Style Constraint

  • No explanations, no formatting, no commentary
  • Only raw output allowed

Safety / Integrity

  • No hallucinated mappings
  • Strict ITU compliance only
  • No inference beyond direct mapping
  • Fully deterministic behavior

Keep looking

Skills are one crate of 328,083. 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.