Promptic β AI skill for Claude Code
90% of what you need for LLM app development.
How to install Promptic
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open knowsuchagency/promptic and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Promptic does
90% of what you need for LLM app development. Nothing you don't.
Alternatives in AI
- Repomix β π¦ Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file 22.7k β
- Opencodex β Universal provider proxy for OpenAI Codex & Claude Code β use any LLM (Claude, Gemini, Grok, DeepSeek, Ollamaβ¦ 12.3k β
- Usage β macOS menu bar & Windows tray app pinning Claude Code, Codex & Antigravity quota, burn rate, and cost to your 301 β
README
promptic
[](https://pypi.org/project/promptic) [](https://opensource.org/licenses/Apache-2.0) [](https://github.com/knowsuchagency/promptic/actions/workflows/tests.yml)
90% of what you need for LLM app development. Nothing you don't.
Promptic aims to be the "[requests](https://requests.readthedocs.io/en/latest/)" of LLM development -- the most productive and pythonic way to build LLM applications. It leverages [LiteLLM][litellm], so you're never locked in to an LLM provider and can switch to the latest and greatest with a single line of code. Promptic gets out of your way so you can focus entirely on building features.
"Perfection is attained, not when there is nothing more to add, but when there is nothing more to take away."
At a glance
- π― Type-safe structured outputs with Pydantic
- π€ Easy-to-build agents with function calling
- π Streaming support for real-time responses
- π Automatic prompt caching for supported models
- πΎ Built-in conversation memory
Installation
pip install promptic
Usage
Basics
Functions decorated with `@llm` use its docstring as a prompt template. When the function is called, promptic combines the docstring with the function's arguments to generate the prompt and returns the LLM's response.
# examples/basic.py
from promptic import llm
@llm
def translate(text, language="Chinese"):
"""Translate '{text}' to {language}"""
print(translate("Hello world!"))
# ζ¨ε₯½οΌδΈηοΌ
print(translate("Hello world!", language="Spanish"))
# Β‘Hola, mundo!
@llm(
model="claude-3-haiku-20240307",
system="You are a customer service analyst. Provide clear sentiment analysis with key points.",
)
def analyze_sentiment(text):
"""Analyze the sentiment of this customer feedba
Related Skills
Agentic Agent Prompt Builder
A free, single-file builder for well-structured AI agent prompts. Pick a starting preset, fill in the parts yo
Nudgy
Native macOS menu bar app that notifies you when AI coding agents (Claude Code) finish tasks, need permissions
Cc Orch Development
Model-agnostic Claude Code skill for orchestrate-and-verify software development: the session model orchestrat
Claudomat Mini
Battle-tested operating system for shipping product with LLM coding agents. 17-stage wave loop, two-reviewer g
Wdf2025 Fiori Innov Day MCP Server
Hands-on: Agentic app development with common AI clients and SAPβs MCP servers
Kg RAG Development Design Harness
Addon layer for Claude Code that turns app and website work into checkable artifacts: plans whose claims are v
Related Agents
Adequacy Auditor
Meta adversary - finds where the test suite's own assertions don't bite, via mutation testing. A green suite i
Tauri Rust Expert
Use this agent when working with Tauri applications, Rust backend development, Tauri plugins, cross-platform d
Mobile Architect
Use this agent when you need high-level architectural guidance, design decisions, or technical leadership for