Ms Agent Framework RAG
shuyu-labs/WebCode
Comprehensive guide for building Agentic RAG systems using Microsoft Agent Framework in C.
A skill your agent uses when building production LLM applications — designing RAG pipelines, choosing vector databases, implementing agent orchestration, optimizing cost, or adding AI safety…
$ npx skills add kid-sid/claude-spellbook --skill ai-engineer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install kid-sid/claude-spellbook ai-engineer --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/kid-sid/claude-spellbook.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ai-engineer .claude/skills/ai-engineer && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "ai-engineer" agent skill from https://github.com/kid-sid/claude-spellbook/tree/main/skills/ai-engineer into .claude/skills/ai-engineer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ai-engineer", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/kid-sid/claude-spellbook/tree/main/skills/ai-engineerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add kid-sid/claude-spellbook --skill ai-engineer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install kid-sid/claude-spellbook ai-engineer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kid-sid/claude-spellbook.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/ai-engineer .agents/skills/ai-engineer && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ai-engineer" agent skill from https://github.com/kid-sid/claude-spellbook/tree/main/skills/ai-engineer into .agents/skills/ai-engineer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ai-engineer", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kid-sid/claude-spellbook --skill ai-engineer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install kid-sid/claude-spellbook ai-engineer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kid-sid/claude-spellbook.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/ai-engineer .cursor/skills/ai-engineer && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ai-engineer" agent skill from https://github.com/kid-sid/claude-spellbook/tree/main/skills/ai-engineer into .cursor/skills/ai-engineer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ai-engineer", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/kid-sid/claude-spellbook.git --path skills/ai-engineer--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add kid-sid/claude-spellbook --skill ai-engineer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install kid-sid/claude-spellbook ai-engineer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kid-sid/claude-spellbook.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/ai-engineer .gemini/skills/ai-engineer && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ai-engineer" agent skill from https://github.com/kid-sid/claude-spellbook/tree/main/skills/ai-engineer into .gemini/skills/ai-engineer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ai-engineer", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install kid-sid/claude-spellbook ai-engineerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add kid-sid/claude-spellbook --skill ai-engineer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/kid-sid/claude-spellbook.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/ai-engineer .github/skills/ai-engineer && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ai-engineer" agent skill from https://github.com/kid-sid/claude-spellbook/tree/main/skills/ai-engineer into .github/skills/ai-engineer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ai-engineer", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kid-sid/claude-spellbook --skill ai-engineer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install kid-sid/claude-spellbook ai-engineer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kid-sid/claude-spellbook.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/ai-engineer .opencode/skills/ai-engineer && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ai-engineer" agent skill from https://github.com/kid-sid/claude-spellbook/tree/main/skills/ai-engineer into .opencode/skills/ai-engineer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ai-engineer", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ai-engineerA skill your agent uses when building production LLM applications — designing RAG pipelines, choosing vector databases, implementing agent orchestration, optimizing cost, or adding AI safety…
AI Engineer is an agent skill from kid-sid/claude-spellbook. Use when building production LLM applications — designing RAG pipelines, choosing vector databases, implementing agent orchestration, optimizing cost, or adding AI safety guardrails.
Its SKILL.md is about 3.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in AI & LLM Engineering, covering Retrieval-augmented generation, LLM guardrails and Vector databases. It works with OpenAI. The repository describes itself as: A curated collection of skills, prompts, and workflows that extend Claude's capabilities — your personal grimoire for AI-powered development. The licence is MIT.
Read from SKILL.md and the folder at commit a7c2ac9. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
LANGCHAIN_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
AI Engineer loads about 3.7k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 710 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from kid-sid/claude-spellbook at commit a7c2ac9, republished under its MIT licence (© kid-sid). 710 words, ~3,666 tokens.
.claude/skills/ai-engineer/SKILL.md (or your agent's skills folder).Patterns for building production-grade LLM applications, RAG systems, and intelligent agents.
| Model | Best For | Relative Cost |
|---|---|---|
claude-opus-4-6 | Complex reasoning, architecture, research | High |
claude-sonnet-4-6 | Balanced coding, most development tasks | Medium |
claude-haiku-4-5 | Classification, extraction, high-volume tasks | Low |
| GPT-4o | OpenAI tool ecosystem, function calling | Medium-High |
| Llama 3.1 70B (local) | Air-gapped, cost-sensitive, no PII risk | None (infra cost) |
Default to Sonnet-class models for development. Use Haiku/mini variants for high-throughput steps. Reserve Opus/GPT-4o for reasoning-heavy tasks.
# BAD: Fixed-size splits break semantic units
text_splitter = CharacterTextSplitter(chunk_size=500)
# GOOD: Semantic chunking preserves context
from langchain.text_splitter import RecursiveCharacterTextSplitter
splitter = RecursiveCharacterTextSplitter(
chunk_size=512,
chunk_overlap=64,
separators=["\n\n", "\n", ". ", " ", ""]
)| Strategy | Use When |
|---|---|
| Recursive character | General prose, code |
| Semantic (sentence-transformers) | Mixed-length documents |
| Document-structure aware | PDFs, HTML, Markdown |
| Sliding window | Dense technical content |
| DB | Hosted | Self-Hosted | Hybrid Search | Notes |
|---|---|---|---|---|
| Pinecone | Yes | No | Yes | Managed, serverless |
| Qdrant | Yes | Yes | Yes | Rust core, fast filtering |
| Weaviate | Yes | Yes | Yes | GraphQL API |
| pgvector | Via Supabase | Yes | With tsvector | Great if already on Postgres |
| Chroma | No | Yes | No | Local dev only |
from qdrant_client import QdrantClient
from qdrant_client.models import SparseVector, NamedSparseVector
# Dense vector (semantic) + sparse vector (BM25)
results = client.query_points(
collection_name="docs",
prefetch=[
models.Prefetch(query=dense_embedding, using="dense", limit=20),
models.Prefetch(query=SparseVector(indices=bm25_indices, values=bm25_values),
using="sparse", limit=20),
],
query=models.FusionQuery(fusion=models.Fusion.RRF), # Reciprocal Rank Fusion
limit=10,
)# BAD: Return top-k by vector similarity alone
results = index.query(vector=embedding, top_k=5)
# GOOD: Over-fetch then rerank for precision
candidates = index.query(vector=embedding, top_k=20)
import cohere
co = cohere.Client()
reranked = co.rerank(
model="rerank-english-v3.0",
query=user_query,
documents=[r.metadata["text"] for r in candidates.matches],
top_n=5,
)| Pattern | What It Solves |
|---|---|
| HyDE (Hypothetical Document Embeddings) | Query/document embedding mismatch |
| RAG-Fusion | Single query too narrow — runs multiple query variants |
| Self-RAG | Model decides when retrieval is needed |
| GraphRAG | Multi-hop reasoning across connected entities |
| Contextual compression | Retrieved chunks too noisy; extract relevant spans only |
# HyDE: generate a hypothetical answer, embed it, retrieve similar docs
hyde_prompt = f"Write a paragraph that would answer: {query}"
hypothetical_doc = llm.invoke(hyde_prompt)
hyde_embedding = embedder.embed(hypothetical_doc)
results = vector_store.similarity_search_by_vector(hyde_embedding)from langgraph.graph import StateGraph, END
from typing import TypedDict, Annotated
import operator
class AgentState(TypedDict):
messages: Annotated[list, operator.add]
tool_calls_remaining: int
def agent_node(state: AgentState):
response = llm.invoke(state["messages"])
return {"messages": [response]}
def tool_node(state: AgentState):
last_message = state["messages"][-1]
results = execute_tools(last_message.tool_calls)
return {"messages": results, "tool_calls_remaining": state["tool_calls_remaining"] - 1}
def should_continue(state: AgentState):
last = state["messages"][-1]
if not last.tool_calls or state["tool_calls_remaining"] <= 0:
return END
return "tools"
graph = StateGraph(AgentState)
graph.add_node("agent", agent_node)
graph.add_node("tools", tool_node)
graph.add_edge("tools", "agent")
graph.add_conditional_edges("agent", should_continue)| Type | Storage | Use For |
|---|---|---|
| Short-term | In-memory messages list | Current conversation context |
| Long-term | Vector store + summary | Facts, preferences across sessions |
| Episodic | Structured DB | Past task outcomes |
| Procedural | Prompt / tool definitions | Skills, workflows |
# Summarize + compress conversation memory
from langchain.memory import ConversationSummaryBufferMemory
memory = ConversationSummaryBufferMemory(
llm=llm,
max_token_limit=1000, # summarize once buffer exceeds limit
return_messages=True,
)from crewai import Agent, Task, Crew
researcher = Agent(
role="Senior Researcher",
goal="Find accurate information",
tools=[search_tool, browse_tool],
llm=llm,
)
writer = Agent(
role="Technical Writer",
goal="Synthesize research into clear prose",
llm=llm,
)
research_task = Task(description="Research {topic}", agent=researcher)
write_task = Task(description="Write a report based on research", agent=writer)
crew = Crew(agents=[researcher, writer], tasks=[research_task, write_task])
result = crew.kickoff(inputs={"topic": "vector databases"})# TypeScript: Zod schema → structured output
import Anthropic from "@anthropic-ai/sdk";
import { z } from "zod";
import zodToJsonSchema from "zod-to-json-schema";
const ExtractedData = z.object({
entities: z.array(z.object({ name: z.string(), type: z.string() })),
summary: z.string(),
});
const response = await client.messages.create({
model: "claude-sonnet-4-6",
max_tokens: 1024,
tools: [{
name: "extract_data",
description: "Extract structured data from text",
input_schema: zodToJsonSchema(ExtractedData),
}],
tool_choice: { type: "tool", name: "extract_data" },
messages: [{ role: "user", content: `Extract from: ${text}` }],
});| Technique | When to Use |
|---|---|
Chain-of-thought (Think step by step) | Multi-step reasoning, math, logic |
| Tree-of-thoughts | Exploring multiple solution paths |
| Self-consistency | Sample multiple outputs, majority vote |
| Few-shot examples | Consistent formatting, specialized tasks |
| Constitutional self-critique | Safety checks, tone alignment |
# BAD: Vague instruction
"Summarize this document"
# GOOD: Structured, constrained prompt
"""Summarize the following document in exactly 3 bullet points.
Each bullet must start with a verb and be under 20 words.
Focus only on actionable findings.
Document:
{document}"""from semantic_router.encoders import OpenAIEncoder
from semantic_router.layer import RouteLayer
# Cache responses for semantically similar queries
cache = RedisSemanticCache(
redis_url="redis://localhost:6379",
embedding=OpenAIEmbeddings(),
score_threshold=0.95, # cosine similarity threshold
)
@cache
def get_answer(query: str) -> str:
return llm.invoke(query)from fastapi import FastAPI
from fastapi.responses import StreamingResponse
import anthropic
app = FastAPI()
client = anthropic.Anthropic()
@app.post("/chat")
async def chat(query: str):
async def generate():
with client.messages.stream(
model="claude-sonnet-4-6",
max_tokens=1024,
messages=[{"role": "user", "content": query}],
) as stream:
for text in stream.text_stream:
yield f"data: {text}\n\n"
yield "data: [DONE]\n\n"
return StreamingResponse(generate(), media_type="text/event-stream")# Estimate cost before execution
def estimate_cost(prompt: str, model: str = "claude-sonnet-4-6") -> float:
input_tokens = len(prompt) // 4 # rough estimate
# Sonnet 4.6: $3/M input, $15/M output
return (input_tokens / 1_000_000) * 3.0
# Hard cap: reject if estimated cost exceeds threshold
if estimate_cost(prompt) > 0.10:
raise ValueError("Prompt too large for single request — chunk it")INJECTION_PATTERNS = [
r"ignore (previous|above|all) instructions",
r"you are now",
r"disregard your",
r"new persona",
r"act as (if you are|a)?",
]
def detect_injection(user_input: str) -> bool:
import re
return any(re.search(p, user_input, re.IGNORECASE) for p in INJECTION_PATTERNS)
# Wrap all user inputs
if detect_injection(user_message):
return {"error": "Input rejected"}import re
PII_PATTERNS = {
"email": r"\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b",
"ssn": r"\b\d{3}-\d{2}-\d{4}\b",
"credit_card": r"\b(?:\d{4}[- ]?){3}\d{4}\b",
"phone": r"\b\+?1?\s?\(?\d{3}\)?[\s.-]?\d{3}[\s.-]?\d{4}\b",
}
def redact_pii(text: str) -> str:
for label, pattern in PII_PATTERNS.items():
text = re.sub(pattern, f"[{label.upper()}_REDACTED]", text)
return text# Use OpenAI Moderation API as a pre-filter (free)
import openai
def is_safe(text: str) -> bool:
result = openai.moderations.create(input=text)
return not result.results[0].flagged
# Gate all user inputs
if not is_safe(user_message):
return {"error": "Message violates content policy"}import os
os.environ["LANGCHAIN_TRACING_V2"] = "true"
os.environ["LANGCHAIN_API_KEY"] = "your-key"
os.environ["LANGCHAIN_PROJECT"] = "my-rag-app"
# All LangChain calls now auto-traced — no code changes needed
chain = prompt | llm | output_parser
result = chain.invoke({"query": user_query})from prometheus_client import Counter, Histogram
llm_requests = Counter("llm_requests_total", "Total LLM API calls", ["model", "status"])
llm_latency = Histogram("llm_latency_seconds", "LLM response latency", ["model"])
retrieval_score = Histogram("retrieval_relevance_score", "RAG retrieval scores")
with llm_latency.labels(model="claude-sonnet-4-6").time():
response = client.messages.create(...)
llm_requests.labels(model="claude-sonnet-4-6", status="success").inc()| Metric | Tool | Measures |
|---|---|---|
| Context Precision | RAGAS | Are retrieved chunks relevant? |
| Context Recall | RAGAS | Did retrieval miss needed chunks? |
| Answer Faithfulness | RAGAS | Does answer match retrieved context? |
| Answer Relevance | RAGAS | Does answer address the question? |
from ragas import evaluate
from ragas.metrics import faithfulness, answer_relevancy, context_precision
dataset = Dataset.from_dict({
"question": questions,
"answer": answers,
"contexts": retrieved_contexts,
"ground_truth": expected_answers,
})
scores = evaluate(dataset, metrics=[faithfulness, answer_relevancy, context_precision])user message role, never the system roleBefore shipping an AI feature:
latestmax_tokens set explicitly; generation budget validated against costSee also:
claude-api,observability,security
© kid-sid, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/ai-engineer of kid-sid/claude-spellbook.
Open the folder on GitHubat commit a7c2ac9
AI Engineer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| AI Engineer this skillkid-sid/claude-spellbook | 189 | — | ~3.7k | Automated safety check: Pass | MIT | |
| Ms Agent Framework RAGshuyu-labs/WebCode | 278 | — | ~1.1k | Automated safety check: Pass | Custom licence | |
| Building Agent Systemstelagod/code-abyss | 243 | — | ~691 | Automated safety check: Pass | MIT | |
| Agent Squad for TypeScript2FastLabs/agent-squad | 7.8k | — | ~4.3k | Automated safety check: Pass | Apache-2.0 | |
| LangchainOrchestra-Research/AI-Research-SKILLs | 13k | 2 repos | ~3.2k | Automated safety check: Pass | MIT | |
| Langchain RAGlangchain-ai/langchain-skills | 1.3k | 1 repos | ~3.9k | Automated safety check: Pass | MIT |
shuyu-labs/WebCode
Comprehensive guide for building Agentic RAG systems using Microsoft Agent Framework in C.
telagod/code-abyss
AI agent and LLM system engineering reference covering single-agent dev (ReAct, tool calling, plan-execute), multi-agent coordination (swarm, role decomposition, file locking), LLM security (prompt…
2FastLabs/agent-squad
Guide to building Node.js and TypeScript apps on the agent-squad package: orchestrator, agent types, classifier routing, storage, retrievers and MCP tools.
Orchestra-Research/AI-Research-SKILLs
Framework for building LLM-powered applications with agents, chains, and RAG.
langchain-ai/langchain-skills
INVOKE THIS SKILL when building ANY retrieval-augmented generation (RAG) system.
ericrisco/rsc-harness
A skill your agent uses when building or restructuring an LLM agent — provider adapter, tool calling, structured output, RAG, agent loop, eval gate, cost routing, tracing, MCP server —…
kid-sid/claude-spellbook
A skill your agent uses when building or reviewing UI components for keyboard and screen reader compatibility, adding ARIA to custom widgets, auditing a page for WCAG AA conformance, or preparing…
kid-sid/claude-spellbook
A skill your agent uses when building, wiring, or debugging an Agentex agent — choosing agent type, configuring acp.py and manifest.yaml, using adk.messages or adk.state, or resolving…
kid-sid/claude-spellbook
A skill your agent uses when building or refactoring Angular applications — choosing between signals, RxJS, and NgRx for state, configuring routing with guards and lazy loading, optimizing change…
kid-sid/claude-spellbook
A skill your agent uses when designing new REST endpoints, reviewing an existing API contract, adding pagination or filtering, planning a versioning strategy, or building a public or partner-facing…
kid-sid/claude-spellbook
A skill your agent uses when implementing login flows, issuing or validating JWTs, setting up OAuth2/OIDC with a provider, designing role-based or attribute-based access control, securing API…
kid-sid/claude-spellbook
A skill your agent uses when writing Python code that integrates with Azure Blob Storage, AI Search, Document Intelligence, or Key Vault — or when configuring Managed Identity auth, designing a…
Works with
Categories
A skill your agent uses when building production LLM applications — designing RAG pipelines, choosing vector databases, implementing agent orchestration, optimizing cost, or adding AI safety…. AI Engineer is an agent skill from kid-sid/claude-spellbook. Use when building production LLM applications — designing RAG pipelines, choosing vector databases, implementing agent orchestration, optimizing cost, or adding AI safety guardrails.
AI Engineer fits situations like: building production LLM applications — designing RAG pipelines; choosing vector databases; implementing agent orchestration; optimizing cost.
Run `npx skills add kid-sid/claude-spellbook --skill ai-engineer -a claude-code`. Or copy the skill folder (skills/ai-engineer in kid-sid/claude-spellbook) into .claude/skills/ai-engineer in your project. Claude Code loads it when a task matches its description.
Run `npx skills add kid-sid/claude-spellbook --skill ai-engineer -a codex`. Or copy the skill folder (skills/ai-engineer in kid-sid/claude-spellbook) into .agents/skills/ai-engineer in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kid-sid/claude-spellbook --skill ai-engineer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ai-engineer, .gemini/skills/ai-engineer, .github/skills/ai-engineer and .opencode/skills/ai-engineer in your project.
Going by SKILL.md and its folder, AI Engineer needs credentials named LANGCHAIN_API_KEY. Our summary lists: Python 3; A credential in LANGCHAIN_API_KEY.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
AI Engineer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.7k tokens (SKILL.md is roughly 15k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with AI Engineer: Ms Agent Framework RAG (shuyu-labs/WebCode, 278 stars), Building Agent Systems (telagod/code-abyss, 243 stars), Agent Squad for TypeScript (2FastLabs/agent-squad, 7.8k stars) and Langchain (Orchestra-Research/AI-Research-SKILLs, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
kid-sid (a GitHub user) maintains it in kid-sid/claude-spellbook, which has 189 GitHub stars. The repository holds 52 skills in this directory. The repository was last updated on August 5, 2026.
Source: kid-sid/claude-spellbook on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.