← 返回
效率工具

Alter Actions

Trigger Alter macOS app actions via x-callback-urls. Catalog of 84+ actions including ask-anything, translate, summarize, grammar correction, and more.
通过 x-callback-urls 触发 Alter macOS 应用操作,支持 84+ 个动作,包括问答、翻译、总结、语法纠正等。
olivieralter
效率工具 clawhub v1.0.0 1 版本 99502.1 Key: 无需
★ 0
Stars
📥 2,798
下载
💾 2
安装
1
版本
#latest

概述

Alter Action Trigger

Trigger Alter actions via x-callback-urls from Clawdbot or the command line.

Quick Start

# Trigger an action directly
node index.js trigger ask-anything --input "What is AI?"

# Find actions with natural language
node index.js find "summarize video"

# List all actions in a category
node index.js list --category writing

URL Format

All Alter actions use the x-callback-url format:

alter://action/{action-id}?input={encoded-text}&param={value}

Functions

triggerAction(actionId, input, params)

Triggers an Alter action via x-callback-url.

findActions(query)

Finds actions matching a natural language query.

listActions(category)

Lists all actions, optionally filtered by category.

getActionInfo(actionId)

Returns detailed information about a specific action.

buildCallbackUrl(actionId, input, params)

Builds an x-callback-url without executing it.


Available Actions Reference

📝 Writing Actions

Action IDNameDescriptionParameters
------------------------------------------
analyze-proseAnalyze ProseEvaluates writing for quality with ratings and recommendationsNone
aphorismsAphorismsFinds and prints existing, known aphorismsNone
change-toneChange the ToneChanges text tone while preserving meaningtone: Assertive, Friendly, Informal, Professional, Simple and direct
correct-grammarCorrect Grammar & SpellingFixes grammar and spelling errorsNone
cut-filler-wordsCut filler wordsRemoves filler words for confident textNone
fill-inFill inCompletes partial text intelligentlyNone
improve-writingImprove WritingRefines text for clarity, coherence, grammarNone
lengthenLengthenExpands text with additional detailsNone
pollPollGenerates engaging pollsNone
rewriteRewriteRewrites text with fresh perspectivesNone
shortenShortenCondenses text while retaining essentialsNone
write-essayWrite essayCrafts well-structured essaysinput: Topic/Instructions

💻 Code Actions

Action IDNameDescriptionParameters
------------------------------------------
act-codeAct On CodeModifies and improves codeinput: Instructions
documentDocument codeDocuments code with commentsNone
explain-codeExplain CodeExplains code and documentationNone
fill-codeFill CodeFills in missing codeNone
fix-codeFix CodeFixes code errorsinput: Error message
language-gptLanguage-GPTExpert insights for programming languagesinput: Question
suggest-improvementsSuggest code improvementsAnalyzes code for enhancementsNone
transcodeTranscode to other languageConverts code between languageslanguage: Target language

🌐 Translation Actions

Action IDNameDescriptionParameters
------------------------------------------
translateTranslateTranslates text between languageslanguage: Arabic, Chinese, Dutch, English, Filipino, French, German, Indonesian, Italian, Japanese, Korean, Portuguese, Russian, Spanish, Vietnamese
translate-to-englishTranslate to EnglishTranslates any language to EnglishNone
translate-to-frenchTranslate to FrenchTranslates any language to FrenchNone
translate-to-spanishTranslate to SpanishTranslates any language to SpanishNone

📊 Summarize Actions

Action IDNameDescriptionParameters
------------------------------------------
summarize-detailedDetailedComprehensive summary with overview, points, takeawaysNone
summarize-microMicroConcise, focused summariesNone
summarize-newsletterNewsletter SummaryExtracts key newsletter updatesNone

🔍 Extract Actions

Action IDNameDescriptionParameters
------------------------------------------
extract-mailsMailsExtracts email addressesNone
extract-namesNamesExtracts personal namesNone
extract-anyPeople/CompaniesExtracts personal/business infoNone
extract-predictionsPredictionsExtracts predictionsNone
extract-recommendationsRecommendationsExtracts recommendationsNone
extract-todoTasksExtracts actionable tasksNone
extract-trendsTrendsExtracts trendsNone
extract-wisdomExtract WisdomExtracts insights and interesting infoNone

📋 Format Actions

Action IDNameDescriptionParameters
------------------------------------------
format-to-bullet-listBullet listConverts text to bullet listNone
format-to-markdown-checklistMarkdown checklistConverts text to checklistNone
format-to-markdown-tableMarkdown tableConverts text to tableNone
format-to-numbered-listNumbered listConverts text to numbered listNone
sort-azSort A-ZSorts alphabetically ascendingNone
sort-zaSort Z-ASorts alphabetically descendingNone

🎨 Create Actions

Action IDNameDescriptionParameters
------------------------------------------
create-alter-actionAlter ActionCreates Alter Actionsinput: Instructions
create-chartsChartsCreates Recharts visualizationsinput: Instructions
create-diagramsDiagramsGenerates Mermaid diagramsinput: Instructions
create-htmlHTML pageCreates HTML pagesinput: Instructions
create-imagesImagesGenerates AI images (Flux, Ideogram)input: Instructions
create-mapsMapsCreates LeafletJS mapsinput: Instructions
create-presentationsHTML PresentationsGenerates slide presentationsinput: Instructions
create-react-appTailwind React AppCreates React appsinput: Instructions

🔎 Explain Actions

Action IDNameDescriptionParameters
------------------------------------------
analyze-paperAnalyze PaperAnalyzes research papersNone
explain-selectionExplainExplains complex concepts simplyNone
hidden-messageHidden messageUncovers hidden messages in textNone

🔀 Git Actions

Action IDNameDescriptionParameters
------------------------------------------
git-commitCommit messageGenerates commit messagesNone
git-reviewReviewReviews code changesNone
git-summarizeSummarizeSummarizes Git commitsNone
pull-requestPull RequestCreates PR descriptionsNone

🧠 Co-Intelligence Actions (Expert GPTs)

Action IDNameDescriptionParameters
------------------------------------------
business-strategist-gptBusiness Strategy ExpertBusiness strategy adviceinput: Question
children-educatorChildren EducatorEarly childhood education guidanceinput: Question
e-commerce-strategist-gptE-commerce Strategy ExpertE-commerce strategy adviceinput: Question
hrmanager-gptHR Manager ExpertHR management guidanceinput: Question
marketer-gptMarketing ExpertMarketing strategy adviceinput: Question
mental-models-gptMental Models ExpertMental models for decision-makinginput: Question
software-architect-gptSoftware Architect ExpertSoftware architecture guidanceinput: Question

💬 General Actions

Action IDNameDescriptionParameters
------------------------------------------
ask-anythingAsk AnythingOpen-ended AI conversationinput: Instructions
ask-webSearch the webWeb search with sourcesinput: Question

📧 Email Actions

Action IDNameDescriptionParameters
------------------------------------------
mail-draftMail DraftCreates email draftsinput: Instructions
mail-multi-summaryMulticonversation summarySummarizes multiple email threadsNone
mail-replyMail ReplyGenerates email repliesanswerType: Any updates?, Doesn't work, I don't know, etc.
mail-summaryThread summarySummarizes email threadsNone

📱 Social Media Actions

Action IDNameDescriptionParameters
------------------------------------------
linkedin-postLinkedin PostCreates LinkedIn postsNone
linkedin-replyLinkedin ReplyGenerates LinkedIn repliesNone
twitter-postTwitter PostCreates engaging tweetsNone
twitter-replyTwitter ReplyGenerates tweet repliesNone
twitter-threadTwitter ThreadCreates Twitter threadsNone

📺 YouTube Actions

Action IDNameDescriptionParameters
------------------------------------------
youtube-hidden-messageYoutube hidden messageAnalyzes videos for hidden messagesNone
youtube-summarize-detailedYoutube detailed SummaryComprehensive video summariesNone
youtube-summarize-microYoutube micro summaryQuick video summariesNone

🎯 Other Actions

Action IDNameDescriptionParameters
------------------------------------------
create-a-keynote-deckGenerate Keynote slidesGenerates Keynote presentationsinput: Instructions
edit-a-keynote-deckEdit Keynote slideEdits Keynote slidesinput: Instructions
translate-the-deckTranslate the deckTranslates Keynote presentationslanguage: Target language
write-presenter-notesWrite presenter notesCreates presenter notesNone
meeting-scribeMeeting ReportConverts transcripts to notesNone
spreadsheet-formulaSpreadsheet FormulaCreates spreadsheet formulasinput: Instructions
user-storyUser StoryCreates agile user storiesNone

Categories

CategoryDescriptionAction Count
-------------------------------------
codeProgramming and development8
writingText editing and creation12
translateLanguage translation4
summarizeContent summarization2
extractInformation extraction7
formatText formatting6
createContent creation8
explainExplanation and analysis4
gitGit version control4
co-intelligencesExpert AI assistants7

Usage Examples

From Clawdbot

// Trigger ask-anything with a question
const { triggerAction } = require('./index.js');
triggerAction('ask-anything', 'What is machine learning?');

// Find actions for "translate text"
const { findActions } = require('./index.js');
const matches = findActions('translate text');
console.log(matches[0]); // { id: 'translate', name: 'Translate', ... }

// Build URL without triggering
const { buildCallbackUrl } = require('./index.js');
const url = buildCallbackUrl('translate', null, { language: 'French' });
// -> alter://action/translate?language=French

From Command Line

# Ask a question
node index.js trigger ask-anything --input "Explain quantum computing"

# Translate with specific language
node index.js trigger translate --param "language=Japanese"

# Fix code with error message
node index.js trigger fix-code --input "TypeError: undefined is not a function"

# Change tone
node index.js trigger change-tone --param "tone=Professional"

# Search for actions
node index.js find "create a chart"

# Get action details
node index.js info create-images

Notes

  • Actions operate on currently selected text/files in Alter
  • Parameters are URL-encoded automatically
  • Actions with hasParameters: false typically need selected content in Alter
  • The open command is used on macOS to trigger x-callback-urls

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 14:06 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 274 📥 114,721
productivity

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 429 📥 103,689
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 437 📥 147,175