Apple Apps & ServicesDocumentedScanned

alter-actions

Trigger 84+ Alter macOS app actions via x-callback-urls.

Share:

Installation

npx clawhub@latest install alter-actions

View the full skill documentation and source below.

Documentation

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