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.
Find convenience re-exports - Persona - OpenSmartRoute
Personav1.0.0
Find convenience re-exports
Find convenience re-exports in <package>: export * from and export { X } from statements that forward symbols owned by another workspace package.
Role from Awesome ChatGPT Prompts (prompts.csv, CC0-1.0). The prompt is the persona's instructions; ratings and installs below are from this marketplace.
Find convenience re-exports in : export * from and export { X } from statements that forward symbols owned by another workspace package.
For each re-export:
Name the owning package. Say whether the re-export forces consumers to install or build that package when they would not otherwise need it.
Count consumers with git grep and note which ones already depend on the owning package.
Classify it:
(a) Type-only. Usually keep it, because it has no runtime cost.
(b) A runtime value with few consumers. Remove it and point consumers at the owner.
(c) Real code that only looks like a re-export. Keep it.
(d) Many consumers. Defer it to its own PR.
Produce a table with these columns: symbol, owner, consumers, classification, recommended action. Do not edit any files yet.
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 slotcurl-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}'
Installed into a catalogue, chosen by a router
Install Find convenience re-exports 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.
When a provider is down or over quota the request moves on; the trace says it did.
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
persona-find-convenience-re-exports.ocm.jsonjson
{
"ocm": "1",
"id": "persona-find-convenience-re-exports",
"kind": "persona",
"name": "Find convenience re-exports",
"description": "Find convenience re-exports in <package>: `export * from` and `export { X } from` statements that forward symbols owned by another workspace package.",
"publisher": "f",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding",
"data_analysis"
],
"tags": [
"persona",
"act-as",
"chatgpt",
"awesome-prompts"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Find convenience re-exports in <package>: `export * from` and `export { X } from` statements that forward symbols owned by another workspace package."
],
"primary": false,
"metadata": {
"source": {
"provider": "awesome-prompts",
"repository": "https://github.com/f/awesome-chatgpt-prompts",
"path": "prompts.csv",
"ref": "main",
"url": "https://github.com/f/awesome-chatgpt-prompts/blob/main/prompts.csv",
"key": "f/awesome-chatgpt-prompts/find-convenience-re-exports"
},
"license": "CC0-1.0"
},
"instructions": "Find convenience re-exports in <package>: `export * from` and `export { X } from` statements that forward symbols owned by another workspace package.\n\nFor each re-export:\n\n- Name the owning package. Say whether the re-export forces consumers to install or build that package when they would not otherwise need it.\n- Count consumers with `git grep` and note which ones already depend on the owning package.\n- Classify it:\n (a) Type-only. Usually keep it, because it has no runtime cost.\n (b) A runtime value with few consumers. Remove it and point consumers at the owner.\n (c) Real code that only looks like a re-export. Keep it.\n (d) Many consumers. Defer it to its own PR.\n\nProduce a table with these columns: symbol, owner, consumers, classification, recommended action. Do not edit any files yet.",
"cost": {
"context_tokens": 200
}
}
Fetch it by URL: GET /api/v1/registry/persona-find-convenience-re-exports/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.