Devsync has one Assistant. Assistant files add instructions and configuration for that Assistant.
Global Assistant:
data/<vault>/assistant.mdProject Assistant:
data/<vault>/projects/<project>/assistant.mdThe runtime system prompt is composed in this order:
base Devsync prompt
+ current local time
+ virtual filesystem root
+ tool/path/write rules
+ vault assistant prompt
+ project assistant prompt
+ available skill catalogAssistant prompt bodies are additive. The project assistant does not delete the vault assistant. If project instructions conflict with vault instructions, the project instructions appear later and should be treated as more specific.
Assistant files may include frontmatter:
---
title: "Project Operator"
description: "Assistant for project operations"
model: openai:gpt-4.1-mini
tools:
- filesystem
- save_generated_markdown
read:
- "**/*"
write:
- work/**
- tasks/**
---
Project-specific instructions go here.Resolution rules:
| Field | Rule |
|---|---|
title |
project > vault > base |
description |
project > vault > base |
model |
project > vault > base |
tools |
merged from base, vault, and project |
read |
if declared, merged from vault and project; otherwise base |
write |
if declared, merged from vault and project; otherwise base |
Base Assistant defaults:
model: DEVSYNC_ASSISTANT_MODEL, then DEVSYNC_AGENT_MODEL, then openai:gpt-4.1-mini
tools: filesystem, use_skill
read: **/*
write: tasks/**, resources/**, work/**, automations/**Skills are listed in the system prompt as a catalog only. Full skill instructions are loaded later with the use_skill tool.
System skills:
server/skills/<skill-name>/SKILL.mdVault skills:
data/<vault>/skills/<skill-name>/SKILL.mdVault skill config:
data/<vault>/config/skills.jsonExample:
{
"disabledSystemSkills": [
"project-status",
"extract-tasks"
]
}Skill resolution:
- system skills are loaded first;
- disabled system skills are removed;
- vault skills override system skills with the same name;
- project-level skills are not supported.
The code still supports legacy Assistant files:
data/<vault>/system.mddata/<vault>/agents/*.mddata/<vault>/agents/<name>/AGENT.mddata/<vault>/projects/<project>/agents.mddata/<vault>/projects/<project>/agents/*.mddata/<vault>/projects/<project>/agents/<name>/AGENT.md
Use assistant.md for new vaults and projects.