From ailtir
Ask a natural-language question against an Ailtir knowledge base. Invoke with /ailtir:chat <kb_id> <question>. Sends the last 5 conversation interactions as context alongside the question.
npx claudepluginhub team-ailtir/ailtir-plugin --plugin ailtirThis skill is limited to using the following tools:
Ask a question against an Ailtir knowledge base using the `ailtir` CLI, enriched
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Share bugs, ideas, or general feedback.
Ask a question against an Ailtir knowledge base using the ailtir CLI, enriched
with recent conversation context.
Parse $ARGUMENTS: the first whitespace-delimited token is the kb_id;
everything after it is the question.
If either is missing, ask the user to provide both the kb_id and the
question before proceeding. Offer to run /ailtir:list to find a valid kb_id.
Build context from the last 5 conversation interactions (each interaction is one user message plus the assistant reply that followed it). Format them as:
Here is the question: <question>
Here is more context to answer the question:
- Q: <user message N-4> A: <assistant reply N-4>
- Q: <user message N-3> A: <assistant reply N-3>
- Q: <user message N-2> A: <assistant reply N-2>
- Q: <user message N-1> A: <assistant reply N-1>
- Q: <user message N> A: <assistant reply N>
Omit interactions that are not relevant (e.g. skill invocations, file uploads). If fewer than 5 interactions exist, include only what is available.
Run the query:
ailtir chat <kb_id> "<enriched question with context>"
On success, present the CLI response clearly to the user.
On failure, show the error and suggest:
AILTIR_CLI_SECRET is set (run echo $AILTIR_CLI_SECRET)kb_id is correct and its status is ready (run ailtir list)ailtir version to verify the CLI is installed