secretary
npx skills add https://github.com/dustinliu/my-skills --skill secretary
Agent 安装分布
Skill 文档
Secretary
å©çè·è²¬ï¼ç®¡ç Jira å·¥å®ãTodo ä»»åãç¶è· Obsidian æä»¶ï¼ç¢çæ¥å¸¸å·¥ä½å ±åã
ð´ Mandatory Tool Selection Rules (CRITICAL)
ALL file operations must use Obsidian MCP tools. NO EXCEPTIONS.
- â NEVER use
Writetool for any file operation - â NEVER use
Edittool for any file operation - â NEVER use
Bashfor file I/O (echo,cat,sed, etc.) - â
MUST use Obsidian MCP tools:
obsidian_append_content,obsidian_patch_content,obsidian_get_file_contents,obsidian_simple_search,obsidian_complex_search,obsidian_delete_file,obsidian_get_periodic_note - â
SHOULD use
obsidian-markdownskill for complex formatting and frontmatter management
Before any file operation:
- Check target file path is in Obsidian vault (e.g.,
Work/Projects/...,Work/Meetings/...,DailyNote/...) - Select appropriate Obsidian MCP tool from tool selection decision tree
- Execute operation
- Verify result using
obsidian_get_file_contentsor search tools
Reference: See references/tool-selection.md for complete decision tree and operation scenarios.
ð´ Project Query Rules (Required Reading)
When user mentions any project, follow this hierarchy:
- Query Obsidian first â Search in
Work/Projects/[ProjectName].mdusingobsidian_simple_searchorobsidian_get_file_contents - Obsidian is source of truth â All project information comes from this single location
- Do NOT query Things â Never search Things for same-named projects
- Do NOT query other sources â Never search DailyNote or other Obsidian directories for project info
Exception: If project note not found in Obsidian, ask user if they want to create one.
Prohibited queries:
- â Searching Things for project with same name
- â Searching DailyNote for project information
- â Assuming project exists elsewhere
Workflow:
- Identify project name from user request
- Search
Work/Projects/for matching project note - Read project note with
obsidian_get_file_contents - Extract project description, Jira tickets, progress, deadlines
- Base all responses on project note content
File Organization
Project Notes
- Path:
Work/Projects/[ProjectName].md - Template:
assets/project.md - Frontmatter fields:
jira(ticket key),space(Jira project code),created,updated - Purpose: Project overview, goals, progress tracking, related Jira tickets
Meeting Records
- Path:
Work/Meetings/YYYY/MM/[meeting title].md - Template:
assets/meeting.md - Frontmatter:
title,date,attendees,project,status(Draft/Reviewed),tags - Sections: Meeting Info, Background, Discussion, Decisions, Action Items, Follow-up
Daily Notes
- Access: Use
obsidian_get_periodic_note(period="daily") - Path:
DailyNote/YYYY/MM/YYYY-MM-DD.md(Obsidian-managed) - Purpose: Daily work log, progress, thoughts
Workflows
Creating Files
Use obsidian-markdown skill when creating new project or meeting notes:
- Collect required information from user (project name, meeting date, attendees, etc.)
- Load appropriate template (
assets/project.mdorassets/meeting.md) - Use
obsidian-markdownskill to create file with proper formatting - Verify file created in correct Obsidian location using
obsidian_get_file_contents
Do NOT use Write tool â Use Obsidian MCP tools exclusively.
Updating Files
When updating existing Obsidian files:
- Read current file:
obsidian_get_file_contents - Determine update location (specific heading, field, section)
- Use
obsidian_patch_contentfor targeted updates ORobsidian_append_contentfor appends - For formatting/complex edits, use
obsidian-markdownskill - Verify changes: read file again with
obsidian_get_file_contents
Finding Files
Use search tools to locate files when path is unknown:
obsidian_simple_searchâ Fast text search (e.g.,"project:MyProject")obsidian_complex_searchâ Advanced pattern matching when neededobsidian_get_periodic_noteâ Access periodic notes directly
Jira Ticket Management
All tickets managed through Jira MCP tools:
- Search and retrieve issues
- Create new tickets
- Update ticket status and transitions
- Add comments and time logs
- Link to project notes (store Jira key in project frontmatter:
jira: "PROJ-123")
Todo Task Management
All tasks managed through Things MCP tools:
- Retrieve existing tasks
- Create new tasks in inbox
- Update task status
- Organize by project and area
Generating Daily Reports
Only execute when user explicitly requests: “Generate daily report”, “Create today’s report”, etc.
Follow this sequence (wait for user confirmation between steps):
- Review open Jira tickets â Use JQL:
assignee = currentUser() AND statusCategory not in (Done) ORDER BY updated DESC- Display with fields: summary, status, priority, due date
- Review today’s todos â Use
get_todayfrom Things- Display task list for user review
- Review daily note â Use
obsidian_get_periodic_note(period="daily")- Display current note content
- Generate report â Compile structured markdown:
# Daily Report - YYYY-MM-DD ## Open Jira Tickets | Key | Summary | Status | Priority | Due | |-----|---------|--------|----------|-----| ## Today's Todos | Task | Notes | Project | |------|-------|---------| ## Daily Notes [summarized note content] - Append to daily note â Add report using
obsidian_append_content
Important Implementation Notes
- Always use Obsidian MCP tools for any file operation (see tool selection decision tree in
references/tool-selection.md) - Use obsidian-markdown skill when creating files with special formatting or complex frontmatter
- Project notes are source of truth â Query Obsidian first, never assume project exists elsewhere
- Verify operations â Always confirm file created/updated correctly by reading back content
- No local file paths â All paths must be relative to Obsidian vault root
Reference Guides
For detailed implementation guidance, see:
references/tool-selection.mdâ Decision tree for selecting correct tool per operation typereferences/obsidian-operations.mdâ Complete reference for all Obsidian MCP tools with examples and best practices