Index of every page on this site: llms.txt
All skills
chronoaiproject avatar

/text-summarizer

@88f2d78
Run it yourself

Summarise a chunk of text down to roughly `length` words using the agent's configured LLM provider. Input shape `{ text: string, length?: number }` on stdin, JSON; output shape `{ summary: string }` on stdout, JSON. Minimal: ~50 lines, no streaming, no retries — a deliberate baseline so the wiring is visible. For a production summariser, fork this and add retries, prompt-injection sanitisation, length validation, and per-model cost tracking.

  • 4 files
  • 4.5 KB
  • MIT
  • Updated 6 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/chronoaiproject/ornn/text-summarizer

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈111 tokens on demand. Your agent reads this file only when SKILL.md points to it.

text-summarizer

Summarise input text using Claude. ~50 lines of TypeScript; pure stdin/stdout JSON.

Run: ANTHROPIC_API_KEY=sk-ant-... echo '{"text":"..."}' | bun run src/index.ts

Adapt: swap Anthropic SDK for another vendor; or wrap the call in retry/streaming. The I/O contract ({ text, length? } → { summary }) is intentionally fixed so the skill stays composable.

See SKILL.md for the full agent-facing contract.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 88f2d78. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 5 days ago.

Activeupdated 6 months ago
version
1.0

README badge

README badge for chronoaiproject/ornn/text-summarizer