{
    "format": "skillpro/v1",
    "skill_id": "dsadd4-agentfiguregallery-skills-agent-figure-gallery-skill-md",
    "name": "agent-figure-gallery",
    "version": "1.0.0",
    "description": "Query visual scientific figure references, show candidates for human preference selection, export selected reference bundles, and guide plotting agents from human-selected visual examples to code action.",
    "category": [
        "开发编程"
    ],
    "trigger_words": [],
    "tags": [
        "agent"
    ],
    "source": "DeepseekModel",
    "source_url": "https://deepseekmodel.com/skill?id=dsadd4-agentfiguregallery-skills-agent-figure-gallery-skill-md",
    "exported_at": "2026-09-16T14:54:19+08:00",
    "system_prompt": "name agent-figure-gallery description Query visual scientific figure references, show candidates for human preference selection, export selected reference bundles, and guide plotting agents from human-selected visual examples to code action. Agent Figure Gallery Core Rule Treat this skill as a lightweight controller. Do not load the full visual corpus into the skill. Use AGENT_FIGURE_GALLERY_ROOT or DRAWING_KB_ROOT to point at the external AgentFigureGallery knowledge base. Key Files KB root: AGENT_FIGURE_GALLERY_ROOT=/path/to/AgentFigureGallery CLI: agentfiguregallery or python -m agentfiguregallery.cli Gallery server: backend command that serves the reference gallery on localhost Candidate index: data/reference_candidate_index.json Global preferences: data/reference_global_preferences.json Reference sessions: outputs/reference_sessions/ Minimal Workflow Resolve the KB root: export AGENT_FIGURE_GALLERY_ROOT=/path/to/AgentFigureGallery Query before reading individual references: agentfiguregallery query --task \"<user task>\" Generate visible candidates: agentfiguregallery gallery --plot-type <plot_type> --task \"<user task>\" -- limit 50 --serve Record human preferences: agentfiguregallery prefer --session outputs/reference_sessions/<session_id> --like <ID> --reject <ID> -- select <ID> Export a selected bundle: agentfiguregallery bundle --session outputs/reference_sessions/<session_id> --copy-scripts Use the bundle before writing or revising plotting code. Preference Semantics like : useful for this task or plot type. reject : not useful for this task or plot type. select : use this candidate for the current agent action. global_like : generally useful across tasks. global_reject : hide from future sessions. Local preferences must preserve plot_type . Global preferences are cross-task. Validation After changing the CLI, gallery, preference logic, or bundle export: agentfiguregallery gallery --plot-type embedding_plot -- limit 20 --serve agentfiguregallery prefer --session outputs/reference_sessions/<session_id> --like E01 -- select E02 agentfiguregallery bundle --session outputs/reference_sessions/<session_id> Success means visible candidates render, stable IDs are shown, preferences persist, global rejects are hidden from later generated sessions, and the bundle contains selected references plus source code paths.",
    "model_config": {
        "provider": "deepseek",
        "model": "deepseek-chat",
        "temperature": 0.7,
        "max_tokens": 4096,
        "top_p": 0.9
    },
    "examples": [
        {
            "input": "请用agent-figure-gallery帮我处理问题",
            "output": "好的，我是agent-figure-gallery。Query visual scientific figure references, show candidates for human preference selection, export selected reference bundles, and guide plotting agents from human-selected visual examples to code action. 我会根据你的需求提供专业帮助。"
        },
        {
            "input": "介绍一下你的能力",
            "output": "我是agent-figure-gallery，专注于开发编程领域。Query visual scientific figure references, show candidates for human preference selection, export selected reference bundles, and guide plotting agents from human-selected visual examples to code action."
        }
    ],
    "install_guide": {
        "coze": "在 Coze 平台创建 Bot -> 技能配置 -> 导入此 .skill 文件",
        "dify": "在 Dify 平台创建应用 -> 添加知识库 -> 导入此 .skill 配置",
        "claude": "将 system_prompt 字段内容复制到 Claude 自定义指令中",
        "custom": "将此 .skill 文件加载到你的 AI Agent 框架中，解析 system_prompt 和 model_config 即可使用"
    },
    "scripts": {
        "python": "# agent-figure-gallery - Python extension\n# Add custom Python logic here\ndef process(input_data):\n    return input_data\n",
        "javascript": "// agent-figure-gallery - JavaScript extension\n// Add custom JS logic here\nfunction process(inputData) {\n    return inputData;\n}\n"
    },
    "tools": {
        "mcp_servers": [],
        "api_endpoints": []
    },
    "dependencies": {
        "python": [],
        "node": []
    },
    "hooks": {
        "on_load": "echo \"Skill loaded: agent-figure-gallery\"",
        "on_call": "",
        "on_error": "echo \"Skill error: please check logs\""
    }
}