Hacker News AI· ruxudev·· 2 hr agoAI score58
Build a Basic AI Agent from Scratch: Skills
Build a Basic AI Agent from Scratch: Skills
AI summary
This installment of the series explains skills: sets of instructions stored in a SKILL.md file that an agent can load on demand, so occasional workflows like release notes or meeting summaries need not sit in the system prompt. The harness discovers skills at startup from bundled, user and project directories, exposes them through a load_skill tool whose schema lists skill names and descriptions, and validates names, descriptions and size limits. The post also warns that skills are a prompt-injection surface and that their content ends up in session transcripts, and it distinguishes skills from agents and sub-agents.
Source: Hacker News AI · ruxu.dev