Skip to main content
You are editing an Expert folder on the user’s machine. Follow the order below. Do not stop at a directory listing.

Do this first

  1. Ask the user to export from My works → Expert → Custom → Overview and unzip the archive into the working directory. That folder is this Expert. Its skill and connector IDs are real.
  2. Read profy.json, mcp.json, plugins/plugins.json, tools.json, agents/, and rules/ before changing anything. Change only what the user named. Skill pins live in profy.json environment.skills.
  3. Use the empty templates at the end only when there is no export and those files are absent. Leave an ID blank when you do not have one. Do not invent one.
  4. When finished, tell the user to upload the folder from Overview. Upload merges: a path you wrote replaces that path, and a path you left out stays as it is. After save, the left pane is the diff against the previous revision. Publish shows that same diff. Do not tell the user to publish before they have read it.
Hand this page to Codex or Claude Code:

Do not

  • Do not invent skillId, versionId, pluginId, or pluginReleaseId. Copy them from the export.
  • Do not write SKILL.md under skills/, and do not write skills/skills.json. The body lives in the skills table. skills/<name>/ in the overview is a view of that table. Upload ignores the directory. enabled, skillId, versionId, and path belong in profy.json environment.skills.
  • Do not put builtinConfig in profy.json. Plugin switches belong in plugins/plugins.json. Extension and platform-skill switches belong in tools.json.
  • Do not put rules back at the root. The avatar, banner, and bound file are assets/avatar.*, assets/banner.*, and assets/file.*. Do not recreate assets/avatarFileKey/ or workspace/.
  • Do not upload .git, node_modules, .next, or dist. A file over 2MB is skipped.
  • Do not generate a stand-in avatar. If the user did not give you an image, do not write assets/avatar.*.

Layout

rules/AGENTS.md, profy.json, and mcp.json must exist on the Expert. A partial edit can omit them; upload keeps the current files. To clear an optional Markdown file, upload it empty. To clear a rule, write an empty string. Do not delete rules/AGENTS.md.

What the rules say

profy.json

Short marketplace-card fields live here. Partners do not. name is required. price: 0 is free. An integer above 0 is a one-time unlock. Do not write a separate billing type. A category code must already exist on the platform. If you do not know it, keep the value from the export.
freeTrialPerUser matters only for a paid Expert, from 1 to 10. Keep long text out of this JSON.

File names

agent and environment are siblings in profy.json. Long text is a relative path. agent.id is the expert id, the same field as agent.id on POST /v1/agents/run. agent.versionId pins this package to one expert version. agent.mcp points at mcp.json, which stays the connector document.
A run reads rules[].path into content. agent.tools tells entries apart by type. A connector is { "type": "mcp", "server_label" }. Its address and credentials stay in mcp.json. Overview and the opening line stay on market.

Partners

One Markdown file per partner, under agents/. The filename is the partner name. The header holds the name, description, tools, and optional model. The body is the system prompt. Omit tools unless the user named one.

Long text

market/overview.md is the card overview. market/intro.md is the introduction. Write Markdown.

Skills

Do not write skills/skills.json. Each skill is an environment.skills entry on profy.json: enabled, skillId, and versionId. path is the overview folder, such as skills/contract-review. Each skillId appears once. Array order is the execution order. skills/<name>/ in the overview is a view of the skills table. An upload and a row that was already in the table both mount there. Do not store a second copy of the body in the folder. If the user wants a skill and you do not have its IDs, do not write a fake row. Tell them to install it on the platform, export again, and copy that row. "skills": [] removes every current reference. Confirm that with the user first.

Built-in tools

plugins/plugins.json lists the selectable plugins this Expert enables. A plugin missing from the file stays on. enabled: false turns one off.
pluginId accepts only these selectable plugins: browser, canvas, chrome, computer, game-studio, movie, record-and-replay, sites, visualize, wiki tools.json lists the extensions and platform skills that are off. Anything missing is on. Both arrays may be empty.
disabledExtensions accepts only: imagegen, video, music, audio, generate_3d, postprocess_3d, generate_world, schedule, knowledge, obsidian_knowledge, memory, delegation, distill, evolution disabledPlatformSkills accepts only: docx, pdf, pptx, html-deck, kami, xlsx, skill-creator, world-generation

Connectors

No connector means an empty object. Do not invent a URL.
When the user gives a real remote address, use this shape. The key is a name you choose. Write a header only when the user gave you that credential.
type is sse, http, or streamable-http. A connector installed from the marketplace is kind: "plugin-release" in the export. When you only change whether it is enabled, keep pluginId, pluginReleaseId, and serverKey.

Images

assets/avatar.png is the avatar, assets/banner.png is the marketplace banner, and assets/file.* is the bound file. Do not write them unless the user supplied the image.

Older paths

A root AGENTS.md, IDENTITY.md, SOUL.md, GUARD.md, OPENING.md, INTRO.md, avatar.*, banner.*, or file.*, and assets/avatarFileKey/, assets/bannerFileKey/, or assets/fileKey/, move to the current paths on upload. A root skills.json or skills/skills.json is folded into profy.json environment.skills and then removed. subagents inside profy.json become agents/*.md. disabledPluginIds inside tools.json become plugins/plugins.json. workspace/ is dropped; the runtime never read it. When both the old and new path are in the folder, the old path wins. A new folder uses the new paths.

Minimum files when nothing exists yet

Use these only when there is no export. The three required files must be present. Write the rules under rules/ as described above. mcp.json is the empty object above. tools.json keeps both arrays empty. Omit plugins/plugins.json when every selectable plugin stays on. profy.json needs schemaVersion, type, and config.name. With no skills, set environment.skills to [].