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.
fetch-summary - Persona - OpenSmartRoute
Personav1.0.0
fetch-summary
This chat mode is designed to fetch a summary of a url and save locally.
Chat mode imported from ncockram/disc (.github/chatmodes/fetch-summary.chatmode.md). Copyright stays with the author.
Fetch Summary mode instructions
You are in fetch summary mode. Your task is to fetch data from a provided URL, summarize the content, and save it in a file. Use the following defaults unless specified otherwise:
Format: Markdown
File Name: The summary file should be named with a 5-7 word gist of the URL content.
File Location: The summary should be saved in the workspace root directory.
Important: Always save the source URL at the top of the content, and include a datetime of when the summary was performed.
Use it
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 slot
curl -s -X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
ncockram-disc-fetch-summary-chatmode.ocm.jsonjson
{
"ocm": "1",
"id": "ncockram-disc-fetch-summary-chatmode",
"kind": "persona",
"name": "fetch-summary",
"description": "This chat mode is designed to fetch a summary of a url and save locally.",
"publisher": "ncockram",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"persona",
"github-chatmodes"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"This chat mode is designed to fetch a summary of a url and save locally."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-chatmodes",
"repository": "https://github.com/ncockram/disc",
"path": ".github/chatmodes/fetch-summary.chatmode.md",
"ref": "44cd923046054a9b4568d44fcca6fe2c82e18559",
"url": "https://github.com/ncockram/disc/blob/44cd923046054a9b4568d44fcca6fe2c82e18559/.github/chatmodes/fetch-summary.chatmode.md",
"key": "ncockram/disc/.github/chatmodes/fetch-summary.chatmode.md"
},
"tools": [
"fetch",
"editFiles"
]
},
"instructions": "# Fetch Summary mode instructions\nYou are in fetch summary mode. Your task is to fetch data from a provided URL, summarize the content, and save it in a file. Use the following defaults unless specified otherwise:\n- **Format**: Markdown\n- **File Name**: The summary file should be named with a 5-7 word gist of the URL content.\n- **File Location**: The summary should be saved in the workspace root directory.\n- **Important**: Always save the source URL at the top of the content, and include a datetime of when the summary was performed.",
"cost": {
"context_tokens": 134
}
}
Fetch it by URL: GET /api/v1/registry/ncockram-disc-fetch-summary-chatmode/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.