Instruction Files & Agent Profiles for DeepSeek Harness
简体中文 · DeepSeek Harness · Security
Manage workspace instructions, agent identities, and per-profile defaults in DSH without replacing the host's native agent, permissions, or session history.
Features
- Opt-in Markdown prompt sections:
IDENTITY.md,SOUL.md,AGENTS.md,TOOLS.md,USER.md, andMEMORY.md. - Optional replacement of the native identity section with
IDENTITY.md; other named prompt sections are plugin-defined, not native DSH section names. - Reloads changed workspace instructions on the next model step while avoiding duplicate injection.
- Manages custom agent profiles with workspace, model and permission defaults for new sessions.
- Cooperates with Dream & Memory and Channel Core to avoid untrusted private memory injection.
Install
Requires a compatible DSH host; check package.json for runtime and peer dependencies.
dsh plugin --profile desktop add github:Kerberos255/dsh-instruction-files
Replace the example profile with yours; restart after installation or code updates.
Quick start
- Open Settings → Plugins → Instruction Files & Profiles.
- Select the workspace and enable the master workspace-prompt option (off by default).
- Add only the Markdown files you intend to use, then enable each corresponding section.
- Optionally create a custom agent profile with its own new-session model/permission defaults.
Example workspace root:
workspace/
IDENTITY.md
SOUL.md
AGENTS.md
TOOLS.md
USER.md
MEMORY.md
IDENTITY.md controls identity; SOUL.md holds behavior/style preferences. MEMORY.md is sensitive: in private channels, access must pass owner verification and the plugin's memory boundary. Changing files does not retroactively rewrite a running model request.
Notes and tests
Changing a default affects new sessions, not existing conversations. Disabled sections fall back to native DSH behavior. The plugin does not create user instruction files or evaluate template expressions.
Run npm test for standalone prompt/memory-filter checks. Config template: config.example.json.
MIT licensed. See LICENSE.
No comments yet. Be the first to write one.