keyless-agent-recipes
v0.1.0
Published
12 ready-to-run AI agent prompt recipes (TL;DR summarizer, code review, meeting notes → actions, RFP response, changelog generator, more). Works with any free OpenAI-compatible LLM endpoint — no API key required. MIT licensed.
Maintainers
Readme
keyless-agent-recipes
12 ready-to-run AI agent prompts. Works with any free OpenAI-compatible LLM endpoint — no API key required. MIT licensed.
The prompts are field-tested system + user templates for the most common agent jobs: summarization, code review, meeting notes → actions, RFP outlines, changelog from git commits, support triage, and more. Designed to be dropped into any LLM client (keylessai, openai SDK with custom baseURL, raw fetch).
Install
npm install keyless-agent-recipesUse
import { getRecipe, fillTemplate } from 'keyless-agent-recipes';
const r = getRecipe('01-tldr-summarizer');
const { messages } = fillTemplate('01-tldr-summarizer', {
TEXT: 'Long article body goes here…',
});
// Pass `messages` to whatever LLM client you have:
const response = await fetch('https://text.pollinations.ai/openai', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ model: 'openai', messages }),
});Works with the free, no-key keylessai router too:
import { streamChat } from 'keylessai';
import { fillTemplate } from 'keyless-agent-recipes';
const { messages } = fillTemplate('04-code-review', {
DIFF: '...',
LANG: 'typescript',
});
for await (const chunk of streamChat({ provider: 'auto', messages })) {
if (chunk?.type === 'content') process.stdout.write(chunk.text);
}The 12 recipes
| ID | What it does |
|---|---|
| 01-tldr-summarizer | Long text → 5-bullet executive summary |
| 02-cold-email-replier | Inbound cold pitch → polite, brief response |
| 03-meeting-notes-to-actions | Raw notes → decisions + action items + owners |
| 04-code-review | Diff → ranked security + readability comments |
| 05-resume-bullet-rewriter | Vague responsibility → quantified STAR bullet |
| 06-tweet-thread-from-blog | Long-form post → 6-10 tweet thread |
| 07-bug-report-to-test-case | Vague report → reproducible steps |
| 08-spec-from-feature-request | Feature request → 1-page mini PRD |
| 09-csv-cleaner | Messy CSV sample → schema + transformation rules |
| 10-customer-support-triage | Ticket → category + priority + draft response |
| 11-rfp-response-skeleton | RFP requirements → response outline |
| 12-changelog-from-commits | Git log → user-facing release notes |
Get the full definitions with import { recipes } from 'keyless-agent-recipes'.
API
recipes — Array
The full recipe set. Each entry has id, name, use, system, user_template.
getRecipe(id) — Function
Returns one recipe or null.
list() — Function
Returns all recipe IDs.
fillTemplate(id, vars) — Function
Substitutes {{VAR}} placeholders in user_template and returns:
{ system: string, user: string, messages: [...] }messages is ready to pass to any OpenAI-compatible client.
Browser demo
Try every recipe live in your browser (no install): civic-letters.pages.dev/pack/agent-recipes/example.html
License
MIT. Fork, ship, sell, modify. Attribution welcome but not required.
Author
drlordbasil · github · keylessai
If this package saved you time, buy me a coffee ☕.
