AgentSkillsCN

content-saver

引导用户将生成的内容(摘要、笔记、要点)保存到专业格式和主题的文件中。当用户想保存、导出或持久化会话中生成的内容、在转录后选择选项4、为保存内容应用样式/主题或明确要求保存摘要、笔记或衍生内容时使用。

SKILL.md
--- frontmatter
name: content-saver
description: Guides users through saving generated content (summaries, notes, key points) to professionally formatted and themed files. Use when users want to save, export, or persist content generated during the session, choose Option 4 after transcription, apply styling/themes to saved content, or explicitly ask to save summaries, notes, or derived content.

Content Saver

This skill provides professional formatting templates AND visual themes for saving generated content to files. Content can include summaries, notes, key points, analysis, or any text derived from transcriptions.

Available Formats

FormatFileBest For
Executive Summaryformats/executive-summary.mdBusiness stakeholders
Detailed Notesformats/detailed-notes.mdResearch, reference
Key Pointsformats/key-points.mdQuick reference
Structured Dataformats/structured-data.mdIntegration, JSON
Plain Textformats/plain-text.mdUniversal compatibility

Available Themes

Classic Themes

ThemeFileStyle
Professional Darkthemes/professional-dark.mdDark mode, teal accents
Professional Lightthemes/professional-light.mdClean, navy headings
Modern Minimalistthemes/modern-minimalist.mdOff-white, whitespace
Academicthemes/academic.mdWarm sepia, serif fonts
Vibrant Creativethemes/vibrant-creative.mdBold purple/pink

Premium Themes (Enhanced UI/UX)

ThemeFileStyleFeatures
Neural AIthemes/neural-ai.mdCyberpunk, glowing accentsAnimations, gradients, callouts
Glassmorphismthemes/glassmorphism.mdFrosted glass, modernBlur effects, hover states, cards
Notion Stylethemes/notion-style.mdNotion-inspired, cleanToggles, callouts, properties
GitHub Docsthemes/github-docs.mdGitHub documentationAlerts, labels, dark mode
Terminal Hackerthemes/terminal-hacker.mdRetro terminal, green textCRT effects, ASCII art, prompts

Shared Resources

ResourceFilePurpose
Components Librarythemes/COMPONENTS.mdReusable UI patterns

Theme Selection Guide

Content TypeRecommended Themes
Technical documentationGitHub Docs, Terminal Hacker
Meeting notes & wikisNotion Style
Research papersAcademic
Product reportsGlassmorphism, Professional Light
AI/ML contentNeural AI
Developer logsTerminal Hacker
Business documentsProfessional Light/Dark
Creative briefsVibrant Creative, Glassmorphism

Workflow

Step 1: Identify Content

Confirm what content the user wants to save (summary, key points, notes, analysis). If content doesn't exist yet, offer to generate it first.

Step 2: Present Format Options

code
## Save Content — Choose a Format

1. **Executive Summary** — Professional markdown with metadata
2. **Detailed Notes** — Comprehensive documentation format
3. **Key Points** — Bulleted action items and takeaways
4. **Structured Data** — JSON for programmatic use
5. **Plain Text** — Simple, universal format

Which format would you like? (1-5)

Step 3: Present Theme Options

code
## Apply a Theme

### Classic Themes
1. **Professional Dark** — Sleek dark mode with teal accents
2. **Professional Light** — Clean corporate styling
3. **Modern Minimalist** — Elegant simplicity
4. **Academic** — Scholarly with serif fonts
5. **Vibrant Creative** — Bold and energetic

### Premium Themes (Enhanced UI/UX)
6. **Neural AI** — Futuristic cyberpunk with glowing effects
7. **Glassmorphism** — Modern frosted glass aesthetic
8. **Notion Style** — Clean productivity-focused design
9. **GitHub Docs** — Developer documentation style
10. **Terminal Hacker** — Retro green-on-black terminal

11. **No Theme** — Plain formatting only

Which theme? (1-11)

Step 4: Apply Template & Save

  1. Read the template: Use Read tool on formats/{format-name}.md
  2. Read the theme (if selected): Use Read tool on themes/{theme-name}.md
  3. Read components (optional): Check themes/COMPONENTS.md for reusable patterns
  4. Structure content according to the format template
  5. Apply theme CSS/styling from theme file
  6. Include appropriate components (callouts, badges, cards) from the theme
  7. Generate filename: {source}_{type}_{YYYYMMDD}.{ext}
  8. Save with write_file tool
  9. Confirm save and offer next steps

Themed Output

When theme is applied, wrap content in HTML:

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>{Document Title}</title>
  <style>
    /* CSS from theme file */
  </style>
</head>
<body>
  <article>
    <!-- Formatted content with theme components -->
  </article>
</body>
</html>

Save as .html instead of .md when themed.

Using Theme Components

Premium themes include rich components. Reference themes/COMPONENTS.md for:

Callouts / Alerts

html
<!-- Notion/Glassmorphism style -->
<div class="callout callout-info">
  <div class="callout-icon">💡</div>
  <div class="callout-content">Important insight here...</div>
</div>

<!-- GitHub style -->
<div class="markdown-alert markdown-alert-note">
  <p class="markdown-alert-title">📘 Note</p>
  <p>Information the user should know...</p>
</div>

<!-- Terminal style -->
<div class="status status-success">[OK] Operation completed.</div>

Badges / Tags

html
<span class="badge badge-success">Complete</span>
<span class="tag tag-blue">transcript</span>
<span class="label label-purple">featured</span>

Cards (Glassmorphism, Neural AI)

html
<div class="card">
  <h4>Key Insight</h4>
  <p>Important finding...</p>
</div>

Toggle Sections (Notion, GitHub)

html
<details class="toggle">
  <summary class="toggle-header">Expand for details</summary>
  <div class="toggle-content">Hidden content...</div>
</details>

Theme Feature Matrix

FeatureNeural AIGlassmorphismNotionGitHubTerminal
Dark ModeBuilt-inGradient BGLight onlyAuto-detectBuilt-in
AnimationsYesHover effectsNoNoFlicker
CalloutsYesYesYes5 typesStatus msgs
CardsYesYes (glass)PropertiesNoASCII box
Code HighlightingGradient barFrost borderBorderGitHub styleTerminal
Print StylesYesYesYesYesYes
ResponsiveYesYesYesYesYes

External Dependencies

Some premium themes load fonts from Google Fonts CDN:

ThemeCDN FontsFallback Fonts
Neural AIOrbitron, Inter, JetBrains Monosystem sans-serif, monospace
GlassmorphismPlus Jakarta Sans, Inter, Fira CodeDM Sans, system-ui, monospace
Notion StyleInter-apple-system, system-ui
Terminal HackerVT323, Fira Code, Share Tech MonoSource Code Pro, monospace

Offline/Restricted Environments: All themes include fallback fonts that work without internet access. The design will remain functional with system fonts.

Critical Rules

  1. Always Confirm — Never save without confirming format, theme, filename
  2. Read Templates On-Demand — Use Read tool to fetch specific format/theme files
  3. Preserve Content — Don't modify meaning when formatting
  4. Include Metadata — Source reference, date, content type
  5. Match Theme to Content — Suggest appropriate themes based on content type
  6. Use Components — Leverage theme-specific callouts, badges, and cards
  7. Report Success — Confirm path and offer follow-up

Error Handling

ErrorResolution
No content to saveOffer to generate first
Write failureReport error, suggest alternative
Template not foundUse Read tool on correct path
Theme not foundFall back to Professional Light or no theme
Component not in themeUse generic HTML equivalent

Quick Examples

Neural AI Theme Output

Best for: AI research, technical analysis, ML documentation

html
<h1>Analysis Report</h1>
<span class="badge badge-primary">AI Generated</span>
<div class="callout callout-info">
  <strong>Neural Analysis:</strong> Key insights detected...
</div>

Notion Style Output

Best for: Meeting notes, project documentation, wikis

html
<div class="properties">
  <div class="property">
    <span class="property-name">Source</span>
    <span class="property-value">Video Transcript</span>
  </div>
</div>
<details class="toggle">
  <summary>Key Takeaways</summary>
  <div class="toggle-content">...</div>
</details>

Terminal Hacker Output

Best for: Developer logs, CLI documentation, tech tutorials

html
<div class="status status-success">[OK] Transcript processed.</div>
<div class="prompt">
  <span class="prompt-symbol">$</span>
  <span class="prompt-command">cat summary.txt</span>
</div>