hemingway

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Hemingway Editor Skill

Hemingway Editor Skill

Writing editor for bold and clear content.
用于创作简洁有力、条理清晰内容的写作编辑器。

Quick Install

快速安装

bash
curl -sSL https://canifi.com/skills/hemingway/install.sh | bash
Or manually:
bash
cp -r skills/hemingway ~/.canifi/skills/
bash
curl -sSL https://canifi.com/skills/hemingway/install.sh | bash
或者手动安装:
bash
cp -r skills/hemingway ~/.canifi/skills/

Setup

配置

Configure via canifi-env:
bash
undefined
通过canifi-env进行配置:
bash
undefined

First, ensure canifi-env is installed:

首先,确保已安装canifi-env:

canifi-env set HEMINGWAY_EMAIL "your_email" canifi-env set HEMINGWAY_PASSWORD "your_password"
undefined
canifi-env set HEMINGWAY_EMAIL "your_email" canifi-env set HEMINGWAY_PASSWORD "your_password"
undefined

Privacy & Authentication

隐私与认证

Your credentials, your choice. Canifi LifeOS respects your privacy.
你的凭据,由你掌控。Canifi LifeOS尊重你的隐私。

Option 1: Manual Browser Login (Recommended)

选项1:手动浏览器登录(推荐)

If you prefer not to share credentials with Claude Code:
  1. Complete the Browser Automation Setup using CDP mode
  2. Login to the service manually in the Playwright-controlled Chrome window
  3. Claude will use your authenticated session without ever seeing your password
如果你不想与Claude Code共享凭据:
  1. 使用CDP模式完成浏览器自动化配置
  2. 在Playwright控制的Chrome窗口中手动登录该服务
  3. Claude将使用你的已认证会话,且全程不会获取你的密码

Option 2: Environment Variables

选项2:环境变量

If you're comfortable sharing credentials, you can store them locally:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
如果你愿意共享凭据,可以将其存储在本地:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
注意:存储在canifi-env中的凭据仅可在你的本地设备访问,绝不会被传输。

Capabilities

功能特性

  1. Readability Score: Grade level analysis
  2. Simplify Writing: Reduce complexity
  3. Passive Voice: Detect and fix
  4. Adverb Detection: Highlight weak words
  5. Sentence Length: Identify long sentences
  1. 可读性评分:年级水平分析
  2. 简化写作:降低内容复杂度
  3. 被动语态检测:识别并修正被动语态
  4. 副词检测:标记冗余副词
  5. 句子长度识别:找出过长句子

Usage Examples

使用示例

Check Readability

检查可读性

User: "What's the grade level of this text?"
Assistant: Returns readability score
用户:“这段文字的年级水平是多少?”
助手:返回可读性评分

Simplify Text

简化文本

User: "Make this writing clearer"
Assistant: Highlights complex sentences
用户:“让这段文字更清晰易懂”
助手:标记复杂句子

Fix Passive Voice

修正被动语态

User: "Find passive voice in my writing"
Assistant: Identifies passive constructions
用户:“找出我写作中的被动语态”
助手:识别被动结构

Reduce Adverbs

减少副词使用

User: "Which adverbs should I remove?"
Assistant: Highlights weak adverbs
用户:“我应该删除哪些副词?”
助手:标记冗余副词

Authentication Flow

认证流程

  1. Account-based authentication
  2. No official API
  3. Browser automation
  4. Desktop app available
  1. 基于账户的认证
  2. 无官方API
  3. 浏览器自动化
  4. 提供桌面应用

Error Handling

错误处理

ErrorCauseSolution
Login FailedInvalid credentialsCheck account
Analysis FailedText too longSplit content
App ErrorBrowser issueRetry
Export FailedFormat issueTry different format
错误原因解决方案
登录失败凭据无效检查账户信息
分析失败文本过长拆分内容
应用错误浏览器问题重试操作
导出失败格式问题尝试其他格式

Notes

注意事项

  • Bold, clear writing
  • Color-coded feedback
  • Grade level scoring
  • Desktop app
  • No public API
  • Simple interface
  • 创作简洁有力、条理清晰的内容
  • 彩色编码反馈
  • 年级水平评分
  • 桌面应用可用
  • 无公开API
  • 界面简洁