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.
foundation - Skill - OpenSmartRoute
Skillv1.0.0
foundation
Foundation framework skills — AttributedString patterns for rich text formatting, alignment, selection, and SwiftUI integration. Use when working with styled text or AttributedString APIs.
Imported from rshankras/claude-code-apple-skills (skills/foundation/SKILL.md). Install upstream with npx skills add rshankras/claude-code-apple-skills --skill foundation. Copyright stays with the author.
Foundation Skills
Foundation framework patterns for Apple platforms.
When This Skill Activates
Use this skill when the user:
Works with AttributedString (formatting, attributes, runs)
Needs rich text alignment, selection, or styling logic
Integrates attributed text with SwiftUI
Available Skills
Paths are relative to THIS file's directory — skills run with cwd set to the
user's project, so resolve each path from this SKILL.md's own location.
Read attributed-string/SKILL.md (relative to this file) plus any reference files it lists.
Apply the guidance to the user's code. For TextEditor-based rich text editing UI, see also ../swiftui/text-editing/SKILL.md.
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 foundation 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": "rshankras-claude-code-apple-skills-foundation",
"kind": "skill",
"name": "foundation",
"description": "Foundation framework skills — AttributedString patterns for rich text formatting, alignment, selection, and SwiftUI integration. Use when working with styled text or AttributedString APIs.",
"publisher": "rshankras",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"skills-sh"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Foundation framework skills — AttributedString patterns for rich text formatting, alignment, selection, and SwiftUI integration. Use when working with styled text or AttributedString APIs."
],
"primary": false,
"metadata": {
"source": {
"provider": "skills.sh",
"repository": "https://github.com/rshankras/claude-code-apple-skills",
"path": "skills/foundation/SKILL.md",
"ref": "HEAD",
"url": "https://github.com/rshankras/claude-code-apple-skills/blob/HEAD/skills/foundation/SKILL.md",
"key": "rshankras/claude-code-apple-skills/skills/foundation/SKILL.md"
},
"allowed_tools": [
"Read",
"Glob",
"Grep"
]
},
"instructions": "# Foundation Skills\n\nFoundation framework patterns for Apple platforms.\n\n## When This Skill Activates\n\nUse this skill when the user:\n- Works with **AttributedString** (formatting, attributes, runs)\n- Needs **rich text** alignment, selection, or styling logic\n- Integrates attributed text with **SwiftUI**\n\n## Available Skills\n\nPaths are relative to THIS file's directory — skills run with cwd set to the\nuser's project, so resolve each path from this SKILL.md's own location.\n\n| Skill | Read | Covers |\n|-------|------|--------|\n| attributed-string | `attributed-string/SKILL.md` | AttributedString formatting, alignment, selection, SwiftUI integration |\n\n## How to Route\n\n1. Read `attributed-string/SKILL.md` (relative to this file) plus any reference files it lists.\n2. Apply the guidance to the user's code. For TextEditor-based rich text editing UI, see also `../swiftui/text-editing/SKILL.md`.",
"cost": {
"context_tokens": 224
}
}
Fetch it by URL: GET /api/v1/registry/rshankras-claude-code-apple-skills-foundation/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.