Custom instructions
Custom instructions are standing guidance you write once for your organization, such as spelling, terminology, voice or audience, and an agent follows them in every new session.
Each agent has its own custom instructions, and each agent sees only its own:
| Agent | Where you set them | Sessions they reach |
|---|---|---|
| Docs Agent | Settings > Docs Agent > Custom instructions | Every new Docs Agent session: started in the editor, from a GitHub pull request, a GitLab merge request, Slack, Discord, a Jira ticket, a Journeys report, an MCP client, or an automation |
| Marketing Agent | Settings > Marketing Agent > Custom instructions | Every new Marketing Agent session, started in the editor, from an MCP client, from a Journeys report, or by an automation that runs as the Marketing Agent |
The Docs Agent never reads the Marketing Agent’s instructions, and the Marketing Agent never reads the Docs Agent’s. To give both agents the same guidance, write it in both places, or put facts about your company in Company Profile, which both agents can read.
Before you begin
Section titled “Before you begin”- Any member of your organization can edit custom instructions.
-
Open the settings for the agent:
- Docs Agent: Settings > Docs Agent > Custom instructions
- Marketing Agent: Settings > Marketing Agent > Custom instructions
-
Write your guidance in the field (Custom Instructions for the Docs Agent, Marketing Agent custom instructions for the Marketing Agent). The field holds up to 20,000 characters, and the counter below it shows how many you have used.
-
Click Save custom instructions. The message Saved. It applies to sessions started from now on. confirms the save.
Your instructions apply to every session started after you save. There is nothing else to do: no refresh, no sync. A session that is already open keeps the instructions it started with.
What to include
Section titled “What to include”Write custom instructions the way you would brief a new writer joining your team. Focus on what the agent can’t get from your code, docs or company profile.
For the Docs Agent:
- Style preferences. Spelling, capitalization, and voice. For example,
"Use American English spelling and sentence case for headings." - Terminology. Terms to prefer or avoid. For example,
"Refer to the product as Acme, never ACME or acme." - Documentation structure. How your docs are organized. For example,
"Place how-to guides in docs/guides and reference material in docs/reference." - Versions and audience. Which versions to document and who reads the docs. For example,
"Document v2 of the API only. Write for backend developers familiar with REST."
For the Marketing Agent:
- Voice and person. For example,
"Write in the first person plural." - How posts open and close. For example,
"Open blog posts with the problem, not the product." - Words and claims to avoid. For example,
"Never call a feature new unless it shipped this quarter."
The Marketing Agent takes tone, person, formality and names from its custom instructions together with the Tone and Voice and Brand names fields in Company Profile.
Examples
Section titled “Examples”Use American English spelling and sentence case for headings.Refer to the product as Acme. Use "sign in" as a verb and"sign-in" as an adjective. Write in the second person andactive voice.Follow the Diataxis framework: tutorials, how-to guides,reference, and explanation each live in their own folder.Write for developers new to Kubernetes. Document v2 of theAPI only.Write in the first person plural. Open blog posts with theproblem, not the product. Keep sentences short. Name Hoolionly when a source compares us directly.To describe what one repository is for, add a repository note instead. For a comparison of every setting, see Which setting to use.
How custom instructions relate to style learning
Section titled “How custom instructions relate to style learning”For the Docs Agent, custom instructions work alongside its automatic style learning. It still analyzes your existing documentation for heading structure, code example conventions, terminology, and file organization. Custom instructions add the context the agent can’t infer from your docs.
For more on how the agent learns your style, see How does the agent know my documentation style? in the reference.
Check it worked
Section titled “Check it worked”-
Start a new session with the agent whose instructions you changed.
-
Ask for something your instructions affect. For example, ask the Docs Agent to
"Generate a README for this repository.", or ask the Marketing Agent for a short LinkedIn post. -
Check the draft against your instructions: spelling, heading case, terminology, voice and structure.
Troubleshooting
Section titled “Troubleshooting”A Custom instructions tab isn’t there
Section titled “A Custom instructions tab isn’t there”If you don’t see Settings > Docs Agent > Custom instructions or Settings > Marketing Agent > Custom instructions, contact support@ekline.io with your organization name.
The agent ignores an instruction
Section titled “The agent ignores an instruction”- Check that you saved the instruction in the settings for the agent you are using. Each agent reads only its own.
- Start a new session. A session that was already open keeps the instructions it started with.
- Make the instruction more specific and concrete. Short, direct instructions work better than long, general ones.
- For a long convention, point to a file in your repository instead of describing it inline.
- Company Profile and Domains: Describe your company once for both agents.
- Reference documents and repository notes: Upload documents and describe each repository.
- Skills: Turn a procedure your team repeats into a command anyone can run.
- Which setting to use: Compare every way to give the agents context.
Built on Potluck Docs, our open source template.