get_main_instructions is a specialized tool that is available only to a focused action agent. It returns the main workflow instructions so the focused agent can recover from an unexpected state and get back to the right place before continuing its focused task.In prompts, refer to this tool as get_main_instructions exactly.
Focused Action Only: This tool is only available inside focused_action. The main agent and recovery agent cannot call it directly. In most cases, you should only expect the focused agent to use it when your prompt explicitly tells it to use get_main_instructions, or otherwise clearly permits access to the main workflow instructions.
For broader guidance on when and how to use focused agents, see Focused Action.
Sometimes a focused action lands on an unexpected screen, popup, or branch and needs more context than its local focused prompt provides.In those cases, get_main_instructions can help the focused agent:
Reread the full workflow instructions
Understand where it was supposed to be in the larger flow
The safest pattern is to mention the tool directly inside the focused_action instructions.
"Use focused_action to verify the payment confirmation screen.If the screen is unexpected and you need broader workflow context, call get_main_instructions,recover back to the intended confirmation flow, then continue the focused task."
You can also make the permission even more explicit:
"Use focused_action to find the correct patient record.If you lose context or land on the wrong screen, you may use get_main_instructions onceto reread the main workflow instructions and recover back to the right place."
Use get_main_instructions only when that focused agent may need broader workflow context to recover from an unexpected situation
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Cyberdesk Docs","colors":{"primary":"#3b82f6","light":"#dbeafe","dark":"#1d4ed8"},"logo":{"light":"https://mintcdn.com/cyberdesk/rrJLQX3349IKA_1Y/logo/wordmark-black.svg?fit=max\u0026auto=format\u0026n=rrJLQX3349IKA_1Y\u0026q=85\u0026s=70df31cd0fe9c8c03bd870850e6abad1","dark":"https://mintcdn.com/cyberdesk/rrJLQX3349IKA_1Y/logo/wordmark-white.svg?fit=max\u0026auto=format\u0026n=rrJLQX3349IKA_1Y\u0026q=85\u0026s=efb75dfc3af81651545ce4fb8a931f71"},"favicon":"https://mintcdn.com/cyberdesk/rrJLQX3349IKA_1Y/favicon.svg?fit=max\u0026auto=format\u0026n=rrJLQX3349IKA_1Y\u0026q=85\u0026s=63f8354d6cad976e700a748474e359d0","navbar":{"links":[{"href":"mailto:founders@cyberdesk.io","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://cyberdesk.io/dashboard"}},"footer":{"socials":{"x":"https://x.com/cyberdeskhq","github":"https://github.com/cyberdesk-hq/cyberdriver","linkedin":"https://linkedin.com/company/cyberdeskhq"}},"contextual":{"options":["copy","view","chatgpt","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/ws5ddx5yZ8"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cyberdesk","hasAudioNarration":false,"actualSubdomain":"cyberdesk","customDomains":["docs.cyberdesk.io"],"gitSource":{"type":"github","owner":"cyberdesk-hq","repo":"cyberdesk-new","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6abdedad7f9886e5779af640","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"API reference","count":143},{"language":"default","tag":"Endpoints","count":142},{"language":"default","tag":"Guides","count":60},{"language":"default","tag":"Concepts","count":23},{"language":"default","tag":"computer","count":23},{"language":"default","tag":"cyberdriver-auth","count":19},{"language":"default","tag":"workflows","count":16},{"language":"default","tag":"Workflow Prompting","count":15},{"language":"default","tag":"Cyberdriver","count":11},{"language":"default","tag":"runs","count":11}]},"assistantConfig":{"deflection":{"enabled":true,"email":"founders@cyberdesk.io","showHelpButton":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":"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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"workflow-prompting/get-main-instructions","slug":"/workflow-prompting/get-main-instructions","pageMetadata":{"title":"Get Main Instructions","description":"Let focused action agents reread the main workflow instructions when you explicitly allow it","icon":"book-open","href":"/workflow-prompting/get-main-instructions"},"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: \"Let focused action agents reread the main workflow instructions when you explicitly allow it\"\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`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`what-is-get-main-instructions`,children:`What is Get Main Instructions?`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`get_main_instructions`}),` is a specialized tool that is available only to a `,_jsx(_components.strong,{children:`focused action agent`}),`. It returns the main workflow instructions so the focused agent can recover from an unexpected state and get back to the right place before continuing its focused task.`]}),`\n`,_jsxs(_components.p,{children:[`In prompts, refer to this tool as `,_jsx(_components.code,{children:`get_main_instructions`}),` exactly.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Focused Action Only`}),`: This tool is only available inside `,_jsx(_components.code,{children:`focused_action`}),`. The main agent and recovery agent cannot call it directly. In most cases, you should only expect the focused agent to use it when your prompt explicitly tells it to use `,_jsx(_components.code,{children:`get_main_instructions`}),`, or otherwise clearly permits access to the main workflow instructions.`]})}),`\n`,_jsxs(_components.p,{children:[`For broader guidance on when and how to use focused agents, see `,_jsx(_components.a,{href:`/workflow-prompting/focused-action`,children:`Focused Action`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-it-returns`,children:`What It Returns`}),`\n`,_jsx(_components.p,{children:`The tool returns the main workflow instructions in text form.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Input values like `,_jsx(_components.code,{children:`{patient_id}`}),` stay in bracket notation`]}),`\n`,_jsxs(_components.li,{children:[`Sensitive values like `,_jsx(_components.code,{children:`{$password}`}),` stay in bracket notation`]}),`\n`,_jsxs(_components.li,{children:[`Runtime values may be shown with their current value when available, for example `,_jsx(_components.code,{children:`{{report_id (currently: 'RPT-123')}}`})]}),`\n`]}),`\n`,_jsx(_components.p,{children:`This is useful because the focused agent can reread the larger workflow context without exposing sensitive plaintext values.`}),`\n`,_jsx(Heading,{level:`2`,id:`why-this-tool-exists`,children:`Why This Tool Exists`}),`\n`,_jsx(_components.p,{children:`Sometimes a focused action lands on an unexpected screen, popup, or branch and needs more context than its local focused prompt provides.`}),`\n`,_jsxs(_components.p,{children:[`In those cases, `,_jsx(_components.code,{children:`get_main_instructions`}),` can help the focused agent:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Reread the full workflow instructions`}),`\n`,_jsx(_components.li,{children:`Understand where it was supposed to be in the larger flow`}),`\n`,_jsx(_components.li,{children:`Recover back to the correct screen`}),`\n`,_jsx(_components.li,{children:`Continue the original focused task`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`when-to-use-it`,children:`When to Use It`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`get_main_instructions`}),` mainly when:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The focused agent hits an unexpected state and needs broader workflow context`}),`\n`,_jsx(_components.li,{children:`The recovery path depends on understanding earlier or later workflow steps`}),`\n`,_jsx(_components.li,{children:`You explicitly want the focused agent to have permission to consult the full workflow prompt`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-to-prompt-for-it`,children:`How to Prompt for It`}),`\n`,_jsxs(_components.p,{children:[`The safest pattern is to mention the tool directly inside the `,_jsx(_components.code,{children:`focused_action`}),` instructions.`]}),`\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:`\"Use focused_action to verify the payment confirmation screen.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`If the screen is unexpected and you need broader workflow context, call get_main_instructions,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`recover back to the intended confirmation flow, then continue the focused task.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`You can also make the permission even more explicit:`}),`\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:`\"Use focused_action to find the correct patient record.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`If you lose context or land on the wrong screen, you may use get_main_instructions once`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`to reread the main workflow instructions and recover back to the right place.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`common-pitfalls`,children:`Common Pitfalls`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Do not treat this as a default tool just because it is available`}),`\n`,_jsxs(_components.li,{children:[`Do not use it as a substitute for writing a clear `,_jsx(_components.code,{children:`focused_action`}),` prompt`]}),`\n`,_jsx(_components.li,{children:`Do not assume it is available to the main agent`}),`\n`,_jsx(_components.li,{children:`Do not rely on it to reveal plaintext sensitive values; sensitive placeholders remain bracketed`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`relationship-to-focused-action`,children:`Relationship to Focused Action`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`get_main_instructions`}),` is a supporting tool for `,_jsx(_components.code,{children:`focused_action`}),`, not a replacement for it.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Use `,_jsx(_components.a,{href:`/workflow-prompting/focused-action`,children:`Focused Action`}),` for the main delegation pattern`]}),`\n`,_jsxs(_components.li,{children:[`Use `,_jsx(_components.code,{children:`get_main_instructions`}),` only when that focused agent may need broader workflow context to recover from an unexpected situation`]}),`\n`]})]})}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":"Get Main Instructions","description":"Let focused action agents reread the main workflow instructions when you explicitly allow it","icon":"book-open","href":"/workflow-prompting/get-main-instructions"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What is Get Main Instructions?","slug":"what-is-get-main-instructions","depth":2,"children":[]},{"title":"What It Returns","slug":"what-it-returns","depth":2,"children":[]},{"title":"Why This Tool Exists","slug":"why-this-tool-exists","depth":2,"children":[]},{"title":"When to Use It","slug":"when-to-use-it","depth":2,"children":[]},{"title":"How to Prompt for It","slug":"how-to-prompt-for-it","depth":2,"children":[]},{"title":"Common Pitfalls","slug":"common-pitfalls","depth":2,"children":[]},{"title":"Relationship to Focused Action","slug":"relationship-to-focused-action","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"cyberdesk","siteName":"Cyberdesk Docs","title":"Get Main Instructions - Cyberdesk Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-31T06:40:10.653Z","originalFileLocation":"workflow-prompting/get-main-instructions.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=\"Let focused action agents reread the main workflow instructions when you explicitly allow it\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cyberdesk Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cyberdesk/sGMCV_-i4-RJ8wWw/_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/cyberdesk/sGMCV_-i4-RJ8wWw/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cyberdesk/sGMCV_-i4-RJ8wWw/_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/cyberdesk/sGMCV_-i4-RJ8wWw/_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/cyberdesk/sGMCV_-i4-RJ8wWw/_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/cyberdesk/sGMCV_-i4-RJ8wWw/_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/cyberdesk/sGMCV_-i4-RJ8wWw/_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/cyberdesk/sGMCV_-i4-RJ8wWw/_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/cyberdesk/sGMCV_-i4-RJ8wWw/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Main Instructions - Cyberdesk Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Let focused action agents reread the main workflow instructions when you explicitly allow it\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cyberdesk Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cyberdesk.io/workflow-prompting/get-main-instructions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cyberdesk.mintlify.site/_mintlify/api/og/v2?division=Workflow+Prompting\u0026amp;title=Get+Main+Instructions\u0026amp;description=Let+focused+action+agents+reread+the+main+workflow+instructions+when+you+explicitly+allow+it\u0026amp;theme=86fdfaa1df5f230cdbe8aef2\u0026amp;signature=60e911622f2f9c9ed45918e59a1160dd5ee1438c29b008a20cac234f5488b0dd\">\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=\"Get Main Instructions - Cyberdesk Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Let focused action agents reread the main workflow instructions when you explicitly allow it\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cyberdesk.mintlify.site/_mintlify/api/og/v2?division=Workflow+Prompting\u0026amp;title=Get+Main+Instructions\u0026amp;description=Let+focused+action+agents+reread+the+main+workflow+instructions+when+you+explicitly+allow+it\u0026amp;theme=86fdfaa1df5f230cdbe8aef2\u0026amp;signature=60e911622f2f9c9ed45918e59a1160dd5ee1438c29b008a20cac234f5488b0dd\">\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/cyberdesk/sGMCV_-i4-RJ8wWw/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cyberdesk Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3b82f6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cyberdesk.io/workflow-prompting/get-main-instructions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/workflow-prompting/get-main-instructions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cyberdesk.io/#organization\",\"name\":\"Cyberdesk Docs\",\"url\":\"https://docs.cyberdesk.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cyberdesk/rrJLQX3349IKA_1Y/logo/wordmark-black.svg?fit=max\u0026auto=format\u0026n=rrJLQX3349IKA_1Y\u0026q=85\u0026s=70df31cd0fe9c8c03bd870850e6abad1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cyberdesk.io#website\",\"name\":\"Cyberdesk Docs\",\"url\":\"https://docs.cyberdesk.io\",\"publisher\":{\"@id\":\"https://docs.cyberdesk.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cyberdesk.io/workflow-prompting/get-main-instructions#webpage\",\"url\":\"https://docs.cyberdesk.io/workflow-prompting/get-main-instructions\",\"name\":\"Get Main Instructions\",\"description\":\"Let focused action agents reread the main workflow instructions when you explicitly allow it\",\"dateModified\":\"2026-03-31T06:40:10.653Z\",\"isPartOf\":{\"@id\":\"https://docs.cyberdesk.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cyberdesk.io/workflow-prompting/get-main-instructions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cyberdesk.io/workflow-prompting/get-main-instructions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Workflow Prompting\",\"item\":\"https://docs.cyberdesk.io/workflow-prompting/prompting-overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Main Instructions\",\"item\":\"https://docs.cyberdesk.io/workflow-prompting/get-main-instructions\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.cyberdesk.io/workflow-prompting/get-main-instructions#article\",\"headline\":\"Get Main Instructions\",\"name\":\"Get Main Instructions\",\"description\":\"Let focused action agents reread the main workflow instructions when you explicitly allow it\",\"url\":\"https://docs.cyberdesk.io/workflow-prompting/get-main-instructions\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cyberdesk.io/workflow-prompting/get-main-instructions#webpage\"},\"dateModified\":\"2026-03-31T06:40:10.653Z\",\"publisher\":{\"@id\":\"https://docs.cyberdesk.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cyberdesk.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cyberdesk Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cyberdesk Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/workflow-prompting/get-main-instructions.md","siteName":"Cyberdesk Docs","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/ws5ddx5yZ8"}]},"tabs":[{"tab":"Guides","groups":[{"group":"Getting started","pages":[{"title":"Introduction","href":""},{"title":"Quick Start","icon":"rocket","href":"/quickstart"}]},{"group":"SDK Guides","pages":[{"title":"TypeScript SDK","icon":"js","href":"/sdk-guides/typescript"},{"title":"Python SDK","icon":"python","href":"/sdk-guides/python"}]},{"group":"Cyberdriver","pages":[{"title":"Cyberdriver Quickstart","icon":"desktop","href":"/cyberdriver/quickstart"},{"title":"Legacy Cyberdriver","icon":"archive","href":"/cyberdriver/legacy-cyberdriver"},{"title":"Clear All Cyberdriver Traces","icon":"broom","href":"/cyberdriver/clear-cyberdriver-traces"},{"title":"CLI and Machine Images","icon":"terminal","href":"/cyberdriver/cli"},{"title":"Desktop Tools","icon":"wrench","href":"/cyberdriver/desktop-tools"},{"title":"Diagnostics and Logs","icon":"bug","href":"/cyberdriver/diagnostics"},{"title":"Keepalive","icon":"heart-pulse","href":"/cyberdriver/keepalive"},{"title":"Remote Management","icon":"cloud-arrow-down","href":"/cyberdriver/remote-management"},{"title":"Display Reliability","icon":"monitor-waveform","href":"/cyberdriver/display-reliability"},{"title":"Cyberdriver Reachability Checks","icon":"shield-exclamation","href":"/cyberdriver/automatic-machine-quarantine"},{"title":"Custom Hosts","icon":"server","href":"/cyberdriver/custom-host"}]},{"group":"Workflow Prompting","pages":[{"title":"Prompting Overview","icon":"wand-magic-sparkles","href":"/workflow-prompting/prompting-overview"},{"title":"Focused Action","icon":"crosshairs","href":"/workflow-prompting/focused-action"},{"title":"Mark File for Export","icon":"file-export","href":"/workflow-prompting/mark-file-for-export"},{"title":"Save Screenshot as Run Attachment","icon":"camera","href":"/workflow-prompting/save-screenshot"},{"title":"Extract Prompt","icon":"scanner-image","href":"/workflow-prompting/extract-prompt"},{"title":"Execute Batch Tools","icon":"layer-group","href":"/workflow-prompting/execute-batch-tools"},{"title":"Looping Tools","icon":"repeat","href":"/workflow-prompting/looping-tools"},{"title":"Copy to Clipboard","icon":"clipboard","href":"/workflow-prompting/copy-to-clipboard"},{"title":"Upsert Runtime Values","icon":"database","href":"/workflow-prompting/upsert-runtime-values"},{"title":"Grab Reference Image","icon":"image","href":"/workflow-prompting/grab-reference-image"},{"title":"Execute Terminal Command","icon":"terminal","href":"/workflow-prompting/execute-terminal"},{"title":"Declare Task Failed","icon":"circle-xmark","href":"/workflow-prompting/declare-task-failed"},{"title":"Declare Task Succeeded","icon":"circle-check","href":"/workflow-prompting/declare-task-succeeded"},{"title":"Model Parameter","description":"Override the AI model for specific actions in your workflow prompts","icon":"microchip-ai","href":"/workflow-prompting/model-parameter"},{"title":"Get Main Instructions","icon":"book-open","href":"/workflow-prompting/get-main-instructions"}]},{"group":"Webhooks","pages":[{"title":"Webhooks Quickstart","description":"Receive run_complete events from Cyberdesk without polling","icon":"bolt","href":"/webhooks/quickstart"},{"title":"Detailed Webhook Guide","icon":"plug","href":"/webhooks/detailed-guide"},{"title":"Downed Machines Webhook","icon":"bell","href":"/webhooks/downed-machines"},{"title":"Webhook Transformations","icon":"wand-magic-sparkles","href":"/webhooks/transformations"},{"title":"Slack Integration","icon":"slack","href":"/webhooks/slack-integration"},{"title":"Zapier Integration","icon":"bolt","href":"/webhooks/zapier-integration"}]},{"group":"Concepts","pages":[{"title":"Trajectories","icon":"route","href":"/concepts/trajectories"},{"title":"Structured Inputs","icon":"brackets-curly","href":"/concepts/structured-inputs"},{"title":"Priority Runs","icon":"bolt","href":"/concepts/priority-runs"},{"title":"Per-run Prompt and Model Overrides","icon":"thumbtack","href":"/concepts/per-run-prompt-overrides"},{"title":"Per-run Model Overrides","icon":"microchip-ai","href":"/concepts/per-run-model-overrides"},{"title":"Input Validation","icon":"shield-check","href":"/concepts/input-validation"},{"title":"Sessions and Chains","icon":"link","href":"/concepts/sessions-and-chains"},{"title":"Workflow Tags \u0026 Groups","icon":"tags","href":"/concepts/workflow-tags"},{"title":"Async Extraction Patterns","icon":"clock","href":"/concepts/async-extraction-patterns"},{"title":"Generating Output Data","icon":"file-export","href":"/concepts/generating-output-data"},{"title":"Run Screenshots","icon":"image","href":"/concepts/run-screenshots"},{"title":"Post-run Checks","icon":"circle-check","href":"/concepts/post-run-checks"},{"title":"Custom Cache Detection Prompt","icon":"magnifying-glass","href":"/concepts/custom-cache-detection"},{"title":"Model Configuration","icon":"microchip-ai","href":"/concepts/model-configuration"},{"title":"Bring Your Own Keys (BYOK)","icon":"key","href":"/concepts/bring-your-own-keys"},{"title":"Desktop Parameters","icon":"desktop","href":"/concepts/desktop-parameters"},{"title":"Pool Parameters","icon":"layers","href":"/concepts/pool-parameters"},{"title":"Empty Values","icon":"input-text","href":"/concepts/empty-values"},{"title":"Clear Values","icon":"eraser","href":"/concepts/clear-values"},{"title":"Windows VM 101","icon":"server","href":"/concepts/windows-vm-101"},{"title":"Complex Drag Actions","icon":"hand-pointer","href":"/concepts/complex-drag-actions"},{"title":"Holding a Key","icon":"keyboard","href":"/concepts/holding-a-key"},{"title":"Workflow Duplication \u0026 Merge","icon":"repeat","href":"/concepts/workflow-duplication-and-merge"}]},{"group":"Additional Details","pages":[{"title":"Usage-Based Billing","href":"/additional-details/usage-based-billing"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Get Main Instructions - Cyberdesk Docs","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":[],"chunks":[]}