Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Imported from googleworkspace/cli (skills/recipe-draft-email-from-doc/SKILL.md) via skills.sh. Install upstream with npx skills add googleworkspace/cli --skill recipe-draft-email-from-doc. Copyright stays with the author.
Draft a Gmail Message from a Google Doc
PREREQUISITE: Load the following skills to execute this recipe: gws-docs, gws-gmail
Read content from a Google Doc and use it as the body of a Gmail message.
Steps
Get the document content: gws docs documents get --params '{"documentId": "DOC_ID"}'
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slotcurl-s-X POST https://osr-api.kindrock-caaab1a2.centralindia.azurecontainerapps.io/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Installed into a catalogue, chosen by a router
Install recipe-draft-email-from-doc and it becomes one more candidate the router can pick - when it fits.
A listing is a routing target with a manifest: what it does, which domains it covers, what it costs and who publishes it. Once installed it sits beside your own models and tools, is scored like any other candidate for each request, and shows up in the trace when it wins. Ratings come from workspaces that installed it, one per account.
{
"ocm": "1",
"id": "googleworkspace-cli-recipe-draft-email-from-doc",
"kind": "skill",
"name": "recipe-draft-email-from-doc",
"description": "Read content from a Google Doc and use it as the body of a Gmail message.",
"publisher": "googleworkspace",
"version": "1.0.0",
"capabilities": {
"domains": [
"marketing"
],
"tags": [
"skill-md",
"skills-sh"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Read content from a Google Doc and use it as the body of a Gmail message."
],
"primary": false,
"metadata": {
"source": {
"provider": "skills.sh",
"repository": "https://github.com/googleworkspace/cli",
"path": "skills/recipe-draft-email-from-doc/SKILL.md",
"ref": "HEAD",
"url": "https://www.skills.sh/googleworkspace/cli/recipe-draft-email-from-doc",
"key": "googleworkspace/cli/skills/recipe-draft-email-from-doc/SKILL.md"
}
},
"instructions": "# Draft a Gmail Message from a Google Doc\n\n> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-docs`, `gws-gmail`\n\nRead content from a Google Doc and use it as the body of a Gmail message.\n\n## Steps\n\n1. Get the document content: `gws docs documents get --params '{\"documentId\": \"DOC_ID\"}'`\n2. Copy the text from the body content\n3. Send the email: `gws gmail +send --to recipient@example.com --subject 'Newsletter Update' --body 'CONTENT_FROM_DOC'`",
"cost": {
"context_tokens": 117
}
}
Fetch it by URL: GET /api/v1/registry/googleworkspace-cli-recipe-draft-email-from-doc/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.