Install Grantex Agent Skills in an OpenClaw workspace and use the JSON CLI for delegated authorization.
OpenClaw can load the same portable Grantex skills used by other Agent Skills-compatible hosts. No OpenClaw-specific Grantex SDK is required.Published @grantex/cli@0.4.2 includes the one-command OpenClaw skill installer.
An autonomous OpenClaw process must not be its own final authorization boundary. Verify the grant token, exact scope, and required current state inside the service, connector, or gateway before the side effect occurs.See Agent CLIs & Skills for the full shell contract and Scope Enforcement for production enforcement.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Grantex","description":"Documentation and API reference for Grantex AI agent authorization, delegated OAuth grants, agent identity, scoped permissions, MCP authorization, verification, and audit. Grantex is owned by Orchestrum Technologies LLP; inventor and owner: Sanjeev Kumar.","colors":{"primary":"#3fb950","light":"#58a6ff","dark":"#2ea043"},"logo":{"light":"https://mintcdn.com/grantex/fh2nVWzV0WTpAhmk/logo/light.svg?fit=max\u0026auto=format\u0026n=fh2nVWzV0WTpAhmk\u0026q=85\u0026s=45b5032cb19c05941960c4bb4239c8cd","dark":"https://mintcdn.com/grantex/fh2nVWzV0WTpAhmk/logo/dark.svg?fit=max\u0026auto=format\u0026n=fh2nVWzV0WTpAhmk\u0026q=85\u0026s=4f8e48fcb123c40e9a32121a5b6e542a"},"favicon":"https://mintcdn.com/grantex/fjShexQIs6R8ZYjW/favicon.svg?fit=max\u0026auto=format\u0026n=fjShexQIs6R8ZYjW\u0026q=85\u0026s=7d1fea44a19ae98fb8b6d9c6732dd38a","navbar":{"links":[{"href":"https://github.com/mishrasanjeev/grantex","type":"github"}]},"search":{"prompt":"Search Grantex docs..."},"seo":{"metatags":{"robots":"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1","og:site_name":"Grantex Documentation","twitter:card":"summary_large_image","twitter:site":"@grantex_dev"},"indexing":"navigable"},"metadata":{"timestamp":true},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"grantex","hasAudioNarration":false,"actualSubdomain":"grantex","customDomains":["docs.grantex.dev"],"gitSource":{"type":"github","owner":"mishrasanjeev","repo":"grantex","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae3643f4c2492fe62cc0ab5","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API Reference","count":155},{"language":"default","tag":"Documentation","count":141},{"language":"default","tag":"Resources","count":60},{"language":"default","tag":"Guides","count":41},{"language":"default","tag":"Integrations","count":31},{"language":"default","tag":"Python SDK","count":27},{"language":"default","tag":"TypeScript SDK","count":27},{"language":"default","tag":"Go SDK","count":26},{"language":"default","tag":"Blog","count":25},{"language":"default","tag":"Posts","count":25}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":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":"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":"llms-txt-v2","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":"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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"integrations/openclaw","slug":"/integrations/openclaw","pageMetadata":{"title":"OpenClaw","sidebarTitle":"OpenClaw","description":"Install Grantex Agent Skills in an OpenClaw workspace and use the JSON CLI for delegated authorization.","href":"/integrations/openclaw"},"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: \"Install Grantex Agent Skills in an OpenClaw workspace and use the JSON CLI for delegated authorization.\"\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`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Info}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`OpenClaw can load the same portable Grantex skills used by other Agent Skills-compatible hosts. No OpenClaw-specific Grantex SDK is required.`}),`\n`,_jsxs(_components.p,{children:[`Published `,_jsx(_components.code,{children:`@grantex/cli@0.4.2`}),` includes the one-command OpenClaw skill installer.`]}),`\n`,_jsx(Heading,{level:`2`,id:`install-in-a-workspace`,children:`Install in a workspace`}),`\n`,_jsx(_components.p,{children:`Run from the configured OpenClaw agent workspace:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -g`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @grantex/cli@0.4.2`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`grantex`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --target`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` openclaw`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`openclaw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` skills`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` check`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The installer writes both skills to `,_jsx(_components.code,{children:`\u003cworkspace>/skills`}),`. Start a new OpenClaw turn after installation.`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`OpenClaw loads Agent Skills-compatible folders from its workspace and managed skill roots. See the `,_jsx(_components.a,{href:`https://docs.openclaw.ai/skills`,children:`OpenClaw skills reference`}),`.`]})}),`\n`,_jsx(_components.p,{children:`To install for all local OpenClaw agents instead, select the managed skill root explicitly:`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Bash`,numberOfLines:`2`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`grantex`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --dir`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$HOME`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/.openclaw/skills\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`openclaw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` skills`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` check`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`PowerShell`,numberOfLines:`2`,language:`powershell`,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:`powershell`,children:_jsxs(_components.code,{language:`powershell`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`grantex agent install `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`--`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`dir `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#CE9178`},children:`$HOME`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\\\\.openclaw\\\\skills\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`openclaw skills check`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`configure`,children:`Configure`}),`\n`,_jsx(_components.p,{children:`Expose credentials to the OpenClaw host with its secret or environment configuration:`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Bash`,numberOfLines:`3`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` GRANTEX_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`https`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`://`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`api`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`grantex`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`dev`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` GRANTEX_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`YOUR_API_KEY`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`grantex`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` me`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`PowerShell`,numberOfLines:`3`,language:`powershell`,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:`powershell`,children:_jsxs(_components.code,{language:`powershell`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`env:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`GRANTEX_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.grantex.dev\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`env:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`GRANTEX_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_API_KEY\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`grantex `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`--`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`json me`})]}),`\n`]})})})]}),`\n`,_jsxs(_components.p,{children:[`Never embed API keys or grant tokens in `,_jsx(_components.code,{children:`SKILL.md`}),`, workspace instructions, prompts, or logs.`]}),`\n`,_jsx(Heading,{level:`2`,id:`use`,children:`Use`}),`\n`,_jsxs(_components.p,{children:[`Ask OpenClaw to use `,_jsx(_components.code,{children:`use-grantex-cli`}),` for operational tasks or `,_jsx(_components.code,{children:`integrate-grantex`}),` for code changes. The skills instruct it to:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`request least-privilege scopes;`}),`\n`,_jsx(_components.li,{children:`preserve the human consent step;`}),`\n`,_jsx(_components.li,{children:`consume JSON instead of human tables;`}),`\n`,_jsx(_components.li,{children:`keep tokens out of process arguments; and`}),`\n`,_jsx(_components.li,{children:`distinguish a CLI preflight from protected-service enforcement.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Example shell calls:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`grantex --json grants list --status active`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`grantex verify --env GRANTEX_GRANT_TOKEN --json`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`grantex --json enforce test --token-env GRANTEX_GRANT_TOKEN --connector salesforce --tool create_lead`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`trust-boundary`,children:`Trust boundary`}),`\n`,_jsx(_components.p,{children:`An autonomous OpenClaw process must not be its own final authorization boundary. Verify the grant token, exact scope, and required current state inside the service, connector, or gateway before the side effect occurs.`}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/integrations/agent-cli`,children:`Agent CLIs \u0026 Skills`}),` for the full shell contract and `,_jsx(_components.a,{href:`/guides/scope-enforcement`,children:`Scope Enforcement`}),` for production enforcement.`]}),`\n`,_jsx(Heading,{level:`2`,id:`ownership`,children:`Ownership`}),`\n`,_jsxs(_components.p,{children:[`Grantex is owned by Orchestrum Technologies LLP. Inventor and owner: Sanjeev Kumar. Ownership contact: `,_jsx(_components.a,{href:`mailto:sanjeev@orchestrum.in`,children:`sanjeev@orchestrum.in`}),` or `,_jsx(_components.a,{href:`mailto:mishra.sanjeev@gmail.com`,children:`mishra.sanjeev@gmail.com`}),`.`]})]})}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":"OpenClaw","sidebarTitle":"OpenClaw","description":"Install Grantex Agent Skills in an OpenClaw workspace and use the JSON CLI for delegated authorization.","href":"/integrations/openclaw"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Install in a workspace","slug":"install-in-a-workspace","depth":2,"children":[]},{"title":"Configure","slug":"configure","depth":2,"children":[]},{"title":"Use","slug":"use","depth":2,"children":[]},{"title":"Trust boundary","slug":"trust-boundary","depth":2,"children":[]},{"title":"Ownership","slug":"ownership","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"grantex","siteName":"Grantex","title":"OpenClaw - Grantex","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-30T08:42:46.728Z","gitLastModified":"2026-09-30T08:42:36.000Z","originalFileLocation":"integrations/openclaw.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=\"Install Grantex Agent Skills in an OpenClaw workspace and use the JSON CLI for delegated authorization.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Grantex\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/grantex/8bJAlEutDRbcOOje/_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/grantex/8bJAlEutDRbcOOje/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/grantex/8bJAlEutDRbcOOje/_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/grantex/8bJAlEutDRbcOOje/_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/grantex/8bJAlEutDRbcOOje/_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/grantex/8bJAlEutDRbcOOje/_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/grantex/8bJAlEutDRbcOOje/_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/grantex/8bJAlEutDRbcOOje/_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/grantex/8bJAlEutDRbcOOje/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"OpenClaw - Grantex\">\u003cmeta data-mint-head property=\"og:description\" content=\"Install Grantex Agent Skills in an OpenClaw workspace and use the JSON CLI for delegated authorization.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Grantex Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.grantex.dev/integrations/openclaw\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://grantex.mintlify.site/_mintlify/api/og/v2?division=Agent+CLIs\u0026amp;title=OpenClaw\u0026amp;description=Install+Grantex+Agent+Skills+in+an+OpenClaw+workspace+and+use+the+JSON+CLI+for+delegated+authorization.\u0026amp;theme=d150aa87de5a78c8e37f1970\u0026amp;signature=49e00cdb9a73dc9e0f460dbdd058e92b455279961310726a67d4019fa5ddc63c\">\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=\"OpenClaw - Grantex\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Install Grantex Agent Skills in an OpenClaw workspace and use the JSON CLI for delegated authorization.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://grantex.mintlify.site/_mintlify/api/og/v2?division=Agent+CLIs\u0026amp;title=OpenClaw\u0026amp;description=Install+Grantex+Agent+Skills+in+an+OpenClaw+workspace+and+use+the+JSON+CLI+for+delegated+authorization.\u0026amp;theme=d150aa87de5a78c8e37f1970\u0026amp;signature=49e00cdb9a73dc9e0f460dbdd058e92b455279961310726a67d4019fa5ddc63c\">\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/grantex/8bJAlEutDRbcOOje/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Grantex\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3fb950\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.grantex.dev/integrations/openclaw\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/integrations/openclaw.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.grantex.dev/#organization\",\"name\":\"Grantex\",\"url\":\"https://docs.grantex.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/grantex/fh2nVWzV0WTpAhmk/logo/light.svg?fit=max\u0026auto=format\u0026n=fh2nVWzV0WTpAhmk\u0026q=85\u0026s=45b5032cb19c05941960c4bb4239c8cd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.grantex.dev#website\",\"name\":\"Grantex\",\"url\":\"https://docs.grantex.dev\",\"publisher\":{\"@id\":\"https://docs.grantex.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.grantex.dev/integrations/openclaw#webpage\",\"url\":\"https://docs.grantex.dev/integrations/openclaw\",\"name\":\"OpenClaw\",\"description\":\"Install Grantex Agent Skills in an OpenClaw workspace and use the JSON CLI for delegated authorization.\",\"dateModified\":\"2026-09-30T08:42:36.000Z\",\"isPartOf\":{\"@id\":\"https://docs.grantex.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.grantex.dev/integrations/openclaw#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.grantex.dev/integrations/openclaw#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agent CLIs\",\"item\":\"https://docs.grantex.dev/integrations/agent-cli\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OpenClaw\",\"item\":\"https://docs.grantex.dev/integrations/openclaw\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.grantex.dev/integrations/openclaw#article\",\"headline\":\"OpenClaw\",\"name\":\"OpenClaw\",\"description\":\"Install Grantex Agent Skills in an OpenClaw workspace and use the JSON CLI for delegated authorization.\",\"url\":\"https://docs.grantex.dev/integrations/openclaw\",\"mainEntityOfPage\":{\"@id\":\"https://docs.grantex.dev/integrations/openclaw#webpage\"},\"dateModified\":\"2026-09-30T08:42:36.000Z\",\"publisher\":{\"@id\":\"https://docs.grantex.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.grantex.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Grantex\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Grantex","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"TypeScript SDK","pages":[{"title":"TypeScript SDK","href":"/sdks/typescript/overview"}]},{"tab":"Python SDK","pages":[{"title":"Python SDK","href":"/sdks/python/overview"}]},{"tab":"Go SDK","pages":[{"title":"Go SDK","href":"/sdks/go/overview"}]},{"tab":"Integrations","groups":[{"group":"Overview","pages":[{"title":"AI Agent Framework Integrations","sidebarTitle":"Overview","href":"/integrations/overview"}]},{"group":"Service Providers","pages":[{"title":"Service Provider Adapters","sidebarTitle":"Adapters","href":"/integrations/adapters"},{"title":"Grantex Gateway","sidebarTitle":"Gateway","href":"/integrations/gateway"},{"title":"MCP Authorization","href":"/integrations/mcp-auth"},{"title":"Trust Registry","sidebarTitle":"Trust Registry","href":"/integrations/registry"}]},{"group":"Agent CLIs","pages":[{"title":"Agent CLIs \u0026 Skills","sidebarTitle":"Any Agent CLI","href":"/integrations/agent-cli"},{"title":"Hermes Agent","sidebarTitle":"Hermes Agent","description":"Install Grantex Agent Skills into Hermes and operate delegated authorization through the JSON CLI.","href":"/integrations/hermes"},{"title":"OpenClaw","sidebarTitle":"OpenClaw","href":"/integrations/openclaw"}]},{"group":"Framework Integrations","pages":[{"title":"Express.js","sidebarTitle":"Express.js","description":"Grant token verification and scope-based authorization middleware for Express.js.","href":"/integrations/express"},{"title":"FastAPI","sidebarTitle":"FastAPI","href":"/integrations/fastapi"},{"title":"MCP Server","sidebarTitle":"MCP","href":"/integrations/mcp"},{"title":"LangChain","sidebarTitle":"LangChain","href":"/integrations/langchain"},{"title":"Vercel AI SDK","sidebarTitle":"Vercel AI","href":"/integrations/vercel-ai"},{"title":"AutoGen / OpenAI","sidebarTitle":"AutoGen","href":"/integrations/autogen"},{"title":"CrewAI","sidebarTitle":"CrewAI","href":"/integrations/crewai"},{"title":"OpenAI Agents SDK","sidebarTitle":"OpenAI Agents","href":"/integrations/openai-agents"},{"title":"Google ADK","sidebarTitle":"Google ADK","href":"/integrations/google-adk"},{"title":"Anthropic SDK","sidebarTitle":"Anthropic","href":"/integrations/anthropic"},{"title":"Strands Agents SDK","sidebarTitle":"Strands","href":"/integrations/strands"}]},{"group":"On-Device","pages":[{"title":"Gemma 4 SDK","sidebarTitle":"Gemma 4","href":"/sdks/gemma"},{"title":"Gemma 4 (On-Device)","sidebarTitle":"Gemma 4","href":"/integrations/gemma"}]},{"group":"Compliance","pages":[{"title":"DPDP \u0026 GDPR Compliance","sidebarTitle":"DPDP / GDPR","href":"/integrations/dpdp"}]},{"group":"Agent-to-Agent","pages":[{"title":"A2A Protocol Bridge (TypeScript)","href":"/integrations/a2a"},{"title":"A2A Protocol Bridge (Python)","href":"/integrations/a2a-py"}]},{"group":"Payment Protocol","pages":[{"title":"x402 Prepaid Wallets","sidebarTitle":"x402 (HTTP 402)","href":"/integrations/x402"}]},{"group":"CLI","pages":[{"title":"CLI","sidebarTitle":"CLI","href":"/integrations/cli"},{"title":"grantex verify","sidebarTitle":"verify","href":"/cli/verify"},{"title":"grantex manifest","sidebarTitle":"manifest","href":"/cli/manifest"},{"title":"grantex enforce","sidebarTitle":"enforce","href":"/cli/enforce"}]},{"group":"Testing","pages":[{"title":"Conformance Suite","sidebarTitle":"Conformance Suite","href":"/integrations/conformance"},{"title":"Conformance Status","sidebarTitle":"Conformance Status","href":"/integrations/conformance-results"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"tab":"Protocol","pages":[{"title":"Protocol","href":"/protocol/specification"}]},{"tab":"Blog","pages":[{"title":"Blog","href":"/blog/oacp-one-trust-layer-under-ucp-acp-ap2"}]}]},"basePath":"","title":"OpenClaw - Grantex","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":[],"chunks":[]}