Drop-in SKILL.md teaching AI agents how to use BaseLayer’s memory and knowledge graph.
Agent Skill File
BaseLayer provides a canonical skill file that teaches AI agents how to use your knowledge graph properly. Point your agent framework at this URL:
https://baselayer.id/SKILL.md
What it teaches
The skill file focuses on usage patterns, not setup:
Ask-first workflow - Search before asking, write back learnings
Tool usage patterns - When to use ask_question vs record_memory vs vault_fact
Best practices - Entity quality, avoiding duplication, relationship naming
The file is concise (~140 lines) and assumes MCP connection is already working. It contains zero setup instructions — if an agent is reading it, they’re already connected. Pure usage guidance only.
Core principle: Ask first, guess second
The skill file teaches agents to search your memory before asking you questions:
User: "What did Alice say about the API design?"Agent (good):1. ask_question("What did Alice say about the API design?")2. Synthesize answer from results3. Only ask user if no results foundAgent (bad):1. Ask user "Who is Alice?"2. Waste time on info already in your memory
Each ask_question result is a synthesized answer. It’s cheap to search often and expensive to miss context.
Using with agent frameworks
OpenClaw
OpenClaw agents can reference the skill file directly from their config:
Fetch the skill content and include it in your system prompt:
import requestsskill = requests.get("https://baselayer.id/SKILL.md").textsystem_prompt = f"""You have access to BaseLayer memory via MCP.{skill}"""
CrewAI / AutoGen
Add BaseLayer tools with the skill content as guidance:
from crewai import Toolbaselayer_tools = [ Tool(name="ask_question", description="Search knowledge graph..."), # ... with skill content as context]
Setup is separate
The skill file contains zero connection instructions. If an agent is reading it, the MCP connection is already working. Setup info lives in human-readable docs only.
What about llms.txt?
SKILL.md is for agents (usage patterns). llms.txt is for discovery (architecture, all integrations, connection endpoints).
The skill file at baselayer.id/SKILL.md is always the latest version. If you’ve copied it into your agent config, check back periodically for updates — we improve the guidance as we learn what works.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"BaseLayer","colors":{"primary":"#3EB8AD","light":"#C8983D","dark":"#26496D"},"logo":{"light":"https://mintcdn.com/baselayer-cb64d258/pMVhqQ9wkFWOaVc4/logo/light.svg?fit=max\u0026auto=format\u0026n=pMVhqQ9wkFWOaVc4\u0026q=85\u0026s=eb1b18a0b5f1f0b019df3bd24384779d","dark":"https://mintcdn.com/baselayer-cb64d258/pMVhqQ9wkFWOaVc4/logo/dark.svg?fit=max\u0026auto=format\u0026n=pMVhqQ9wkFWOaVc4\u0026q=85\u0026s=c387841a5eb9ae2d4ae1238568666ce1"},"favicon":"/favicon.svg","background":{"color":{"light":"#FFFFFF","dark":"#0A1628"}},"navbar":{"links":[{"href":"https://baselayer.id","label":"Website"}],"primary":{"type":"button","label":"Get Started","href":"https://baselayer.id/download"}},"footer":{"socials":{"github":"https://github.com/baselayer-id","x":"https://x.com/baselayer_id"}},"fonts":{"heading":{"family":"Geist"},"body":{"family":"Geist"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"baselayer-cb64d258","hasAudioNarration":false,"actualSubdomain":"baselayer-cb64d258","customDomains":["docs.baselayer.id"],"gitSource":{"type":"github","owner":"baselayer-id","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae948236cb575c06c4de284:success","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"MCP Tools","count":24},{"language":"default","tag":"Integrations","count":24},{"language":"default","tag":"Documentation","count":11},{"language":"default","tag":"Desktop App","count":4},{"language":"default","tag":"Getting Started","count":4},{"language":"default","tag":"Help","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"integrations/agent-skill","slug":"/integrations/agent-skill","pageMetadata":{"title":"Agent Skill File","description":"Drop-in SKILL.md teaching AI agents how to use BaseLayer's memory and knowledge graph.","href":"/integrations/agent-skill"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Drop-in SKILL.md teaching AI agents how to use BaseLayer’s memory and knowledge graph.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`agent-skill-file`,children:`Agent Skill File`}),`\n`,_jsx(_components.p,{children:`BaseLayer provides a canonical skill file that teaches AI agents how to use your knowledge graph properly. Point your agent framework at this URL:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://baselayer.id/SKILL.md`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`what-it-teaches`,children:`What it teaches`}),`\n`,_jsxs(_components.p,{children:[`The skill file focuses on `,_jsx(_components.strong,{children:`usage patterns`}),`, not setup:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Ask-first workflow`}),` - Search before asking, write back learnings`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Tool usage patterns`}),` - When to use ask_question vs record_memory vs vault_fact`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Best practices`}),` - Entity quality, avoiding duplication, relationship naming`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The file is concise (~140 lines) and assumes MCP connection is already working. It contains zero setup instructions — if an agent is reading it, they’re already connected. Pure usage guidance only.`}),`\n`,_jsx(Heading,{level:`2`,id:`core-principle-ask-first-guess-second`,children:`Core principle: Ask first, guess second`}),`\n`,_jsx(_components.p,{children:`The skill file teaches agents to search your memory before asking you questions:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`11`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`User: \"What did Alice say about the API design?\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Agent (good):`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`1. ask_question(\"What did Alice say about the API design?\")`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`2. Synthesize answer from results`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`3. Only ask user if no results found`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Agent (bad):`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`1. Ask user \"Who is Alice?\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`2. Waste time on info already in your memory`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Each ask_question result is a synthesized answer. It’s cheap to search often and expensive to miss context.`})}),`\n`,_jsx(Heading,{level:`2`,id:`using-with-agent-frameworks`,children:`Using with agent frameworks`}),`\n`,_jsx(Heading,{level:`3`,id:`openclaw`,children:`OpenClaw`}),`\n`,_jsx(_components.p,{children:`OpenClaw agents can reference the skill file directly from their config:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"skills\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"baselayer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://baselayer.id/SKILL.md\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`langchain-/-langgraph`,children:`LangChain / LangGraph`}),`\n`,_jsx(_components.p,{children:`Fetch the skill content and include it in your system prompt:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`skill `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://baselayer.id/SKILL.md\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).text`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`system_prompt `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`You have access to BaseLayer memory via MCP.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`skill`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"\"`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`crewai-/-autogen`,children:`CrewAI / AutoGen`}),`\n`,_jsx(_components.p,{children:`Add BaseLayer tools with the skill content as guidance:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` crewai `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Tool`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`baselayer_tools `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Tool(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ask_question\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`description`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Search knowledge graph...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # ... with skill content as context`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`setup-is-separate`,children:`Setup is separate`}),`\n`,_jsxs(_components.p,{children:[`The skill file contains `,_jsx(_components.strong,{children:`zero connection instructions`}),`. If an agent is reading it, the MCP connection is already working. Setup info lives in human-readable docs only.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-about-llms-txt`,children:`What about llms.txt?`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`SKILL.md`}),` is for agents (usage patterns). `,_jsx(_components.code,{children:`llms.txt`}),` is for discovery (architecture, all integrations, connection endpoints).`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Agent learning BaseLayer? → `,_jsx(_components.a,{href:`https://baselayer.id/SKILL.md`,children:`SKILL.md`})]}),`\n`,_jsxs(_components.li,{children:[`Understanding BaseLayer architecture? → `,_jsx(_components.a,{href:`https://baselayer.id/llms.txt`,children:`llms.txt`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`keeping-it-updated`,children:`Keeping it updated`}),`\n`,_jsxs(_components.p,{children:[`The skill file at `,_jsx(_components.code,{children:`baselayer.id/SKILL.md`}),` is always the latest version. If you’ve copied it into your agent config, check back periodically for updates — we improve the guidance as we learn what works.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Agent Skill File","description":"Drop-in SKILL.md teaching AI agents how to use BaseLayer's memory and knowledge graph.","href":"/integrations/agent-skill"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Agent Skill File","slug":"agent-skill-file","depth":1,"children":[]},{"title":"What it teaches","slug":"what-it-teaches","depth":2,"children":[]},{"title":"Core principle: Ask first, guess second","slug":"core-principle-ask-first-guess-second","depth":2,"children":[]},{"title":"Using with agent frameworks","slug":"using-with-agent-frameworks","depth":2,"children":[{"title":"OpenClaw","slug":"openclaw","depth":3,"children":[]},{"title":"LangChain / LangGraph","slug":"langchain-/-langgraph","depth":3,"children":[]},{"title":"CrewAI / AutoGen","slug":"crewai-/-autogen","depth":3,"children":[]}]},{"title":"Setup is separate","slug":"setup-is-separate","depth":2,"children":[]},{"title":"What about llms.txt?","slug":"what-about-llms-txt","depth":2,"children":[]},{"title":"Keeping it updated","slug":"keeping-it-updated","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"baselayer-cb64d258","siteName":"BaseLayer","title":"Agent Skill File - BaseLayer","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-06T04:34:02.461Z","originalFileLocation":"integrations/agent-skill.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Drop-in SKILL.md teaching AI agents how to use BaseLayer\u0026#x27;s memory and knowledge graph.\">\u003cmeta data-mint-head name=\"application-name\" content=\"BaseLayer\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/baselayer-cb64d258/DA-VwktRc70nxaOV/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/baselayer-cb64d258/DA-VwktRc70nxaOV/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/baselayer-cb64d258/DA-VwktRc70nxaOV/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/baselayer-cb64d258/DA-VwktRc70nxaOV/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/baselayer-cb64d258/DA-VwktRc70nxaOV/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/baselayer-cb64d258/DA-VwktRc70nxaOV/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/baselayer-cb64d258/DA-VwktRc70nxaOV/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/baselayer-cb64d258/DA-VwktRc70nxaOV/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/baselayer-cb64d258/DA-VwktRc70nxaOV/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Agent Skill File - BaseLayer\">\u003cmeta data-mint-head property=\"og:description\" content=\"Drop-in SKILL.md teaching AI agents how to use BaseLayer\u0026#x27;s memory and knowledge graph.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"BaseLayer\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.baselayer.id/integrations/agent-skill\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://baselayer-cb64d258.mintlify.site/_mintlify/api/og/v2?division=Integrations\u0026amp;title=Agent+Skill+File\u0026amp;description=Drop-in+SKILL.md+teaching+AI+agents+how+to+use+BaseLayer%27s+memory+and+knowledge+graph.\u0026amp;theme=dc0106ad03ffc9804fa2f6d6\u0026amp;signature=ba4aa5dfc5429e66fafb2d32065c1529c29f7367e2f132026a9f0ae2f89c9c25\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Agent Skill File - BaseLayer\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Drop-in SKILL.md teaching AI agents how to use BaseLayer\u0026#x27;s memory and knowledge graph.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://baselayer-cb64d258.mintlify.site/_mintlify/api/og/v2?division=Integrations\u0026amp;title=Agent+Skill+File\u0026amp;description=Drop-in+SKILL.md+teaching+AI+agents+how+to+use+BaseLayer%27s+memory+and+knowledge+graph.\u0026amp;theme=dc0106ad03ffc9804fa2f6d6\u0026amp;signature=ba4aa5dfc5429e66fafb2d32065c1529c29f7367e2f132026a9f0ae2f89c9c25\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/baselayer-cb64d258/DA-VwktRc70nxaOV/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"BaseLayer\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3EB8AD\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.baselayer.id/integrations/agent-skill\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/integrations/agent-skill.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.baselayer.id/#organization\",\"name\":\"BaseLayer\",\"url\":\"https://docs.baselayer.id\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/baselayer-cb64d258/pMVhqQ9wkFWOaVc4/logo/light.svg?fit=max\u0026auto=format\u0026n=pMVhqQ9wkFWOaVc4\u0026q=85\u0026s=eb1b18a0b5f1f0b019df3bd24384779d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.baselayer.id#website\",\"name\":\"BaseLayer\",\"url\":\"https://docs.baselayer.id\",\"publisher\":{\"@id\":\"https://docs.baselayer.id/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.baselayer.id/integrations/agent-skill#webpage\",\"url\":\"https://docs.baselayer.id/integrations/agent-skill\",\"name\":\"Agent Skill File\",\"description\":\"Drop-in SKILL.md teaching AI agents how to use BaseLayer's memory and knowledge graph.\",\"dateModified\":\"2026-04-06T04:34:02.461Z\",\"isPartOf\":{\"@id\":\"https://docs.baselayer.id#website\"},\"breadcrumb\":{\"@id\":\"https://docs.baselayer.id/integrations/agent-skill#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.baselayer.id/integrations/agent-skill#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Integrations\",\"item\":\"https://docs.baselayer.id/integrations/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agent Skill File\",\"item\":\"https://docs.baselayer.id/integrations/agent-skill\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.baselayer.id/integrations/agent-skill#article\",\"headline\":\"Agent Skill File\",\"name\":\"Agent Skill File\",\"description\":\"Drop-in SKILL.md teaching AI agents how to use BaseLayer's memory and knowledge graph.\",\"url\":\"https://docs.baselayer.id/integrations/agent-skill\",\"mainEntityOfPage\":{\"@id\":\"https://docs.baselayer.id/integrations/agent-skill#webpage\"},\"dateModified\":\"2026-04-06T04:34:02.461Z\",\"publisher\":{\"@id\":\"https://docs.baselayer.id/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.baselayer.id#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"BaseLayer\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"BaseLayer\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/integrations/agent-skill.md","siteName":"BaseLayer","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Integrations","groups":[{"group":"Integrations","pages":[{"title":"Integrations Overview","href":"/integrations/overview"},{"title":"MCP Server","href":"/integrations/mcp-server"},{"title":"Chrome Extension","href":"/integrations/chrome-extension"},{"title":"Claude.ai","href":"/integrations/claude-ai"},{"title":"ChatGPT","href":"/integrations/chatgpt"},{"title":"Cursor","href":"/integrations/cursor"},{"title":"Windsurf","href":"/integrations/windsurf"},{"title":"Claude Code","href":"/integrations/claude-code"},{"title":"GitHub Copilot","href":"/integrations/copilot"},{"title":"Aider","href":"/integrations/aider"},{"title":"Gemini CLI","description":"Capture and recall with Gemini CLI.","href":"/integrations/gemini-cli"},{"title":"Agent Skill File","href":"/integrations/agent-skill"}]}]},{"tab":"MCP Tools","pages":[{"title":"MCP Tools","href":"/api/tools-overview"}]}]},"basePath":"","title":"Agent Skill File - BaseLayer","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":[],"chunks":[]}