feat(skills): add agenticflow-built-in-credits and agenticflow-llm-models skills#3
Open
antongulin wants to merge 5 commits into
Open
feat(skills): add agenticflow-built-in-credits and agenticflow-llm-models skills#3antongulin wants to merge 5 commits into
antongulin wants to merge 5 commits into
Conversation
Repository structure, build/test commands, code conventions, and common tasks for AI coding agents contributing to this codebase.
Reference the skills repo (agenticflow-agent, agenticflow-workforce, agenticflow-mcp) and note the sync requirement when CLI commands change.
…repo Skills live next to the commands they document so one PR updates both. The separate agenticflow-skill repo should be deprecated — it causes sync drift and AI agents won't proactively clone it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds two new SKILL.md files to
skills/that teach AI coding agents (Claude Code, Cursor, Codex, Gemini CLI, etc.) how to use AgenticFlow's built-in features and model selection:agenticflow-built-in-credits— Credits-first approach: useagenticflow_generate_image,web_search,web_retrieval, and built-in blueprints before considering BYOK (Bring Your Own Key). Includes the decision framework (try built-in → iterate prompts → evaluate → extend only if needed), credit cost tables, blueprint-first agent setup, and explicit handoff toagenticflow-mcpfor BYOK when the user is genuinely unsatisfied.agenticflow-llm-models— Model selection guide withagenticflow/glm-4.7-flashas the default (best all-rounder with reasoning + tools at 18s),agenticflow/gemini-2.5-flash-liteas the fast alternative (13s, no reasoning overhead), plus the top 5 recommended models, models to avoid (Claude 3.5 Haiku for logic, deprecated Gemini 2.0 Flash, flaky GPT-OSS variants), reasoning token configuration viaaf schema agent --field model_user_config, and thefinish_reason=lengthfix (increasemax_tokensto ≥4000 for GPT-5 Nano and GLM-4.5 Air).Why these skills
Without skills, AI agents responding to AgenticFlow questions:
af platform-catalog models,af credits balance,af agent connect-tool,--reasoning-effort)finish_reason=lengthwith model-specificmax_tokensguidanceModel default:
glm-4.7-flashfirst,gemini-2.5-flash-litesecondThe default model is
agenticflow/glm-4.7-flash— it has built-in reasoning (931 tokens), tool use, and at 18s is only 5s slower than Gemini 2.5 Flash Lite while delivering much stronger results for agents that need to think and call tools. Gemini 2.5 Flash Lite (13s) is recommended as the fast alternative when you don't need reasoning.Evaluation results
Both skills were tested using the OpenCode Skill Creator — the open-source tool for creating, evaluating, and iteratively improving AI skills with automated benchmarks. 3 test prompts per skill, run with and without the skill:
agenticflow-built-in-creditsagenticflow-llm-modelsThe built-in-credits skill went through 3 iterations (85% → 93% → 100%) with improvements driven by eval failures:
agenticflow-mcpskill reference for BYOK extension stepsaf agent init --blueprint content-creatorinstead of creating custom agents from scratchFiles added
skills/agenticflow-built-in-credits/SKILL.mdskills/agenticflow-llm-models/SKILL.mdBoth skills follow the existing convention (SKILL.md only, matching
agenticflow-agent,agenticflow-workforce,agenticflow-mcp).Related
skills/