Skip to main content

Portable Joeden Docs Writer Agent

Updated Jun 17, 2026 ·

Overview

This KB documents the setup for a portable kb-joeden-docs-writer writing agent.

The goal is to invoke the same KB writing workflow from different AI assistants in VS Code, across different laptops, Macs, and repositories.

The agent should create KB pages from a topic and optional notes, then place the page in the correct folder under joeden/docs when that repository is available.

Why Repo Instructions Were Not Enough

Repo instruction files are useful when the assistant is already working inside the repo.

Examples include:

  • AGENTS.md
  • CLAUDE.md
  • .github/copilot-instructions.md
  • .agents/KB-Writing-Guide.md

These files are tied to the repository. They do not create a personal agent that follows the user across machines and workspaces.

For a reusable VS Code-level workflow, use personal customizations instead.

Recommendation

Use a custom agent for the named persona and a skill for the reusable workflow.

PiecePurpose
Custom agentProvides the named kb-joeden-docs-writer persona in VS Code or Claude.
SkillStores the portable KB writing workflow and instructions.
DotfilesKeeps the source copy synced across machines.

This keeps the agent easy to invoke and the workflow easy to reuse.

Source Folder

Keep the source copy outside project repos.

On Windows, the source root is:

C:\Git\dotfiles\
ai\
agents\
kb-joeden-docs-writer.agent.md
kb-joeden-docs-writer.claude.md
skills\
kb-joeden-docs-writer\
SKILL.md

This folder can be committed to a dotfiles repo and synced to other machines.

The dotfiles folder is the source of truth.

Note: If you have multiple machines, each laptop or Mac still needs installed copies in the user-level folders for the AI tools installed on that machine. Follow this page to copy the source files into the correct user-level folders for each assistant on each machine.

Installed Files

Install copies into each assistant's user-level folder.

On Windows:

ToolFile
GitHub CopilotC:\Users\joseeden\.copilot\agents\kb-joeden-docs-writer.agent.md
GitHub CopilotC:\Users\joseeden\.copilot\skills\kb-joeden-docs-writer\SKILL.md
Claude CodeC:\Users\joseeden\.claude\agents\kb-joeden-docs-writer.md
Claude CodeC:\Users\joseeden\.claude\skills\kb-joeden-docs-writer\SKILL.md
CodexC:\Users\joseeden\.codex\skills\kb-joeden-docs-writer\SKILL.md

On macOS or Linux, use the same structure under the home directory:

~/.copilot/agents/kb-joeden-docs-writer.agent.md
~/.copilot/skills/kb-joeden-docs-writer/SKILL.md

~/.claude/agents/kb-joeden-docs-writer.md
~/.claude/skills/kb-joeden-docs-writer/SKILL.md

~/.codex/skills/kb-joeden-docs-writer/SKILL.md

Agent Prompt

The agent should use this core behavior:

Create a KB page about the topic provided.

Put it in the correct folder under joeden/docs.

Below are added notes, if any:

The full agent instructions should also tell the assistant to:

  • Inspect nearby pages in the target folder.
  • Match frontmatter style, tags, filename pattern, and sidebar position pattern.
  • Read local repo instructions when they exist.
  • Use short sections, short paragraphs, clear bullets, and aligned Markdown tables.
  • Use Docusaurus admonitions when useful.
  • Avoid em dashes.

Usage

Use the named agent from VS Code when it is available:

@kb-joeden-docs-writer write KB about this conversation

Use the skill name directly in Codex when needed:

Use $kb-joeden-docs-writer to create a KB page about debugging Python in VS Code.

Note: Invocation syntax can vary by assistant. The important part is that the personal agent and skill files are installed in the user-level folders for that tool.

Maintenance

Update the source copy first:

C:\Git\dotfiles\

Then copy the updated files into the user-level folders for Copilot, Claude Code, and Codex.

This keeps the dotfiles repo as the source of truth and keeps installed assistant files in sync.

For a new machine, clone or sync the dotfiles repo first.

Then install the files into that machine's local AI assistant folders.

The recommended practical setup is to keep a small install script in the dotfiles repo.

On macOS or Linux, the script could be:

./ai/install-kb-joeden-docs-writer.sh

On Windows, the script could be:

.\ai\install-kb-joeden-docs-writer.ps1

The script should create the required folders and copy the source files into the local user-level assistant folders.

Note: Copying is simpler than symlinking across Windows, macOS, synced folders, and different assistant tools.

Validation

After creating or updating the portable agent, check these items:

  • The source root exists at C:\Git\dotfiles.
  • The agent files exist under C:\Git\dotfiles\ai.
  • The installed user-level files exist for each assistant.
  • The skill frontmatter has name: kb-joeden-docs-writer.
  • The agent frontmatter uses the kb-joeden-docs-writer name.
  • The assistant can see the agent or skill after restarting the session if needed.
  • The joeden repo is open or accessible when the agent needs to write under joeden/docs.
info

The portable agent can follow the user across machines, but it can only edit repositories that the active assistant can access in the current workspace or approved file system scope.