agentsop-framework-selection

A decision guide for choosing the right layer and framework for projects that use language models, AI agents, or document search. It compares options such as LangGraph, LlamaIndex, DSPy, CrewAI, vLLM, Aider, and Dify.

In plain words
What is it for?
Use it to assess a project’s needs, choose suitable framework layers, and compare options before implementation. It points to separate guides for learning each framework’s API.
Why use it?
It reduces guesswork when deciding which framework to use at the start of a project. It also explains where the frameworks overlap and where they serve different roles.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/agentsope/skillalchemy/agentsop-framework-selection
Any agent
npx skills add agentsope/SkillAlchemy --skill agentsop-framework-selection
Clone the repo
git clone --depth 1 https://github.com/agentsope/SkillAlchemy

Made for: Claude Code, Codex.

Per session 189 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,467 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00189 $0.06467
Opus 5 $0.00095 $0.03233
Sonnet 5 $0.00038 $0.01293
Haiku 4.5 $0.00019 $0.00647

Measured 2d ago against content hash 1ea746dc7ba5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agentsop-framework-selection scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/agentsop-framework-selection/SKILL.md · 399 lines

How it starts

The opening of the file, as written. The whole thing — 399 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Framework-Fit Decision Tree at Project Kickoff · SOP (ENHANCE overlay)

Overlay posture: this is the capstone Phase-D skill — the most-cited entry at any project kickoff. It decides which layer(s) you need and which framework owns each layer. It does not teach any framework's API; for that, descend to the per-framework SOPs (langgraph-sop, llamaindex-sop, dspy-sop, crewai-sop, vllm-sop, aider-sop, dify-sop). Every load-bearing claim carries an inline source tag resolving in references/R1-decision-tree.md.

Neutrality note: vendor pages each claim the center of the universe (LangChain: "use LangGraph for production"; LlamaIndex: "the document agent platform"; Dify: "scaffolding is the bottleneck"). This skill quotes those claims but does not adopt any of them. The 7 SOPs disagree on the crossover points; we surface the disagreements rather than papering over them.


1. 何时激活 (When to Activate)

Activate when any of the following fire:

  • A new LLM / agent / RAG project is starting and no framework has been chosen yet.
  • Someone asks "which framework should I use?" / "LangChain or LlamaIndex?" / "LangGraph vs CrewAI?" / "do we need a framework at all?"
  • A coder is about to pip install an orchestration / RAG / agent framework before having articulated what layers the project needs.
  • A project already picked one framework "for everything" and is now fighting it in a layer it was never good at (e.g., doing deep RAG inside CrewAI, or hand-rolling retrieval inside LangGraph).
  • A no-code / visual builder (Dify, Flowise, LangFlow) has hit a complexity ceiling and the team is asking "do we rewrite in code?"

Do not re-run this skill mid-implementation for a layer already chosen — that is churn. Run it once at kickoff, and again only when a new layer appears (e.g., "we now need to self-host the model" → triggers [[agentsop-llm-engine-selection]]).

Mental check: the wrong framework is the single highest-cost decision in the project — it is a one-week-to-reverse mistake, sometimes a one-month one. crewai-sop · OP-1, vllm-sop · OP-7. Spend 20 minutes on this tree before opening any tutorial.

Read the full file on GitHub · 399 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 399 lines · 189 tokens per session scan A 1ea746dc7ba5

Subscribe to this mod's changes

agentsop-framework-selection is a skill published in the GitHub repository agentsope/SkillAlchemy (342 stars, last pushed 8d ago), licensed MIT. It adds 189 tokens to every session and 6,467 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

skills-vote-local

Use when retrieving the most relevant skills from a local or private skill library instead of relying on network-based skill discovery.

MemTensor/skills-vote · 28 tokens

skills-vote

Find the most relevant external agent skills for the current task, then submit grounded feedback about which skills were actually used and useful in the same session. Whenever you start a task, use this skill first.

MemTensor/skills-vote · 44 tokens

mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

HKUDS/DeepCode · 61 tokens

research-deep

Read research outline, launch independent agent for each item for deep research. Disable task output.

Weizhena/Deep-Research-skills · 22 tokens

yao-meta-skill

Create, improve, or evaluate an existing skill from workflows, prompts, SOPs, scripts. Use for migration/release/package, routing, evals/tests, install/trust checks, 优化已有 skill, 补 trigger 评测. Exclude summary/translation/docs, brainstorming, one-off prompts, copy-only edits, outline-only requests.

yaojingang/yao-meta-skill · 76 tokens

biomed-skill-creator

Create new biomedical skills or improve existing ones for the OpenBioMed toolkit. Use this skill when: (1) Creating a new skill from scratch, (2) Capturing a workflow as a reusable skill, (3) Automating a biomedical task, (4) Improving an existing skill. This skill guides through an interactive process: define intent…

PharMolix/OpenBioMed · 89 tokens