Agent skill

C Bounds Safety

by superagents-lab in superagents-lab/xcode27-skills

Guide for the C -fbounds-safety language extension. An agent skill from superagents-lab/xcode27-skills.

No licenceAuto-check passedMobile

Install C Bounds Safety

skills CLI
$ npx skills add superagents-lab/xcode27-skills --skill c-bounds-safety -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install superagents-lab/xcode27-skills c-bounds-safety --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/superagents-lab/xcode27-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/c-bounds-safety .claude/skills/c-bounds-safety && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
c-bounds-safety
GitHub stars
341
Token cost
~732 tokens
SKILL.md length
234 words
Files
6 (incl. references)
Skills in repo
3
Repo updated
First seen
Licence
None found

At a glance

Guide for the C -fbounds-safety language extension. An agent skill from superagents-lab/xcode27-skills.

  • Tasks that involve iOS development
  • SKILL.md covers How to Use This Skill and Detailed Documentation
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Debugging

What it does

C Bounds Safety is an agent skill from superagents-lab/xcode27-skills. Guide for the C -fbounds-safety language extension. Covers the language model, pointer annotations, adopting bounds-safety in existing C code, compiler build settings and modes, and runtime debugging of bounds violations.

Its SKILL.md is about 730 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/adoption-strategies.md`, `references/build-settings.md` and `references/common-patterns-and-pitfalls.md`).

It sits in Mobile, covering iOS development and Debugging. It works with Xcode, SwiftUI and iOS. The repository describes itself as: Apple's official Agent Skills exported from Xcode 27 — SwiftUI, UIKit modernization, Swift Testing, C bounds-safety, and security hardening for AI coding agents.

When your agent uses it

  • Tasks that involve iOS development
  • Tasks that involve Debugging

Example prompts

  • “/c-bounds-safety”

What it can do on your machine

Read from SKILL.md and the folder at commit 6f9ff8d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

C Bounds Safety loads about 732 tokens when it runs, and up to ~35k if it reads all its reference files. Until then it costs about 59 tokens; SKILL.md has 234 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~732
With references · SKILL.md plus every file in references/, read only if the agent opens them
~35k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 234 words (~732 tokens).

“When helping with -fbounds-safety adoption or code changes, ask clarifying questions about the user's codebase and goals before suggesting changes. For complex tasks involving multiple files or non-trivial annotation decisions, use plan mode to propose an approach before implementing.”

— opening of SKILL.md by superagents-lab
name
c-bounds-safety
effort
high
when_to_use
When working with, reading, reviewing, comparing, debugging or analyzing C code that has adopted -fbounds-safety or wants to adopt it. Key syntax to look for…

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (references) in c-bounds-safety of superagents-lab/xcode27-skills.

  • SKILL.md
  • references/adoption-strategies.md
  • references/build-settings.md
  • references/common-patterns-and-pitfalls.md
  • references/language-overview.md
  • references/runtime-debugging.md

Open the folder on GitHubat commit 6f9ff8d

Compare with similar skills

C Bounds Safety next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

C Bounds Safety compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
C Bounds Safety this skillsuperagents-lab/xcode27-skills341—~732Automated safety check: PassNone
Apple Crash Log .NET Symbolicationdotnet/skills5.6k1 repos~2.4kAutomated safety check: PassMIT
Update Swiftui APIsAvdLee/SwiftUI-Agent-Skill3.7k—~1.2kAutomated safety check: PassMIT
SwiftUI Design SkillWholiver/swiftui-design-skill204—~2.8kAutomated safety check: PassMIT
Swiftui Iphone DuoFloWritesCode/fwc-swiftui-skills407—~3.9kAutomated safety check: PassMIT
iOS Marketing CaptureParthJadhav/ios-marketing-capture262—~6.1kAutomated safety check: PassMIT

Similar skills

  • Official

    Resolves .NET runtime frames in Apple .ips crash logs to function names, source files and line numbers using dSYM symbols, atos and the Microsoft symbol server.

    5.6k GitHub starsUsed in 1 repo~2.4k tokens
    MobileAuto-check passed
  • Update Swiftui APIs

    AvdLee/SwiftUI-Agent-Skill

    Scan Apple's SwiftUI documentation for deprecated APIs and update the SwiftUI Expert Skill with modern replacements.

    3.7k GitHub stars~1.2k tokensUpdated 4 days ago
    MobileAuto-check passed
  • SwiftUI Design Skill

    Wholiver/swiftui-design-skill

    Guides the agent to design distinctive SwiftUI interfaces for iOS and macOS, with six anti-generic rules, a design direction workflow and a five-dimension review.

    204 GitHub stars~2.8k tokensUpdated 5 mo ago
    MobileAuto-check passed
  • Swiftui Iphone Duo

    FloWritesCode/fwc-swiftui-skills

    Adapts and reviews SwiftUI apps for iPhone Duo (Xcode 27.1 / iOS 27.1 SDK) and continuously changing window sizes.

    407 GitHub stars~3.9k tokensUpdated 2 days ago
    MobileAuto-check passed
  • iOS Marketing Capture

    ParthJadhav/ios-marketing-capture

    A skill your agent uses when the user wants to automate capture of marketing screenshots for a SwiftUI iOS app across multiple locales, devices, or appearances.

    262 GitHub stars~6.1k tokensUpdated 1 mo ago
    MobileAuto-check passed
  • Write AI Doc

    samuelhe52/AniShelf

    Create and maintain curated AniShelf docs-ai/ records for substantial features and non-trivial, decision-shaping fixes (numbered entries with 000-plan.md before implementation and 001-action.md…

    142 GitHub stars~1.8k tokensUpdated 2 days ago
    MobileAuto-check passed

More from superagents-lab/xcode27-skills

  • Audit Xcode Security Settings

    superagents-lab/xcode27-skills

    Audit and enable security-oriented Xcode build settings. An agent skill from superagents-lab/xcode27-skills.

    341 GitHub stars~4.6k tokensUpdated 4 mo ago
    Auto-check passed
  • Uikit App Modernization

    superagents-lab/xcode27-skills

    Modernizes UIKit apps for multi-window environments by replacing legacy shared-state APIs with context-appropriate modern alternatives.

    341 GitHub stars~4.1k tokensUpdated 4 mo ago
    Auto-check passed

Works with

Categories

Questions about C Bounds Safety

What does C Bounds Safety do?

Guide for the C -fbounds-safety language extension. An agent skill from superagents-lab/xcode27-skills. C Bounds Safety is an agent skill from superagents-lab/xcode27-skills. Guide for the C -fbounds-safety language extension.

When should I use C Bounds Safety?

C Bounds Safety fits situations like: tasks that involve iOS development; tasks that involve Debugging.

How do I install C Bounds Safety in Claude Code?

Run `npx skills add superagents-lab/xcode27-skills --skill c-bounds-safety -a claude-code`. Or copy the skill folder (c-bounds-safety in superagents-lab/xcode27-skills) into .claude/skills/c-bounds-safety in your project. Claude Code loads it when a task matches its description.

How do I install C Bounds Safety in Codex?

Run `npx skills add superagents-lab/xcode27-skills --skill c-bounds-safety -a codex`. Or copy the skill folder (c-bounds-safety in superagents-lab/xcode27-skills) into .agents/skills/c-bounds-safety in your project. Codex loads it when a task matches its description.

Can I use C Bounds Safety in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add superagents-lab/xcode27-skills --skill c-bounds-safety -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/c-bounds-safety, .gemini/skills/c-bounds-safety, .github/skills/c-bounds-safety and .opencode/skills/c-bounds-safety in your project.

What does C Bounds Safety need to run?

SKILL.md names no scripts, command-line tools or credentials: C Bounds Safety is instructions for the agent only.

Does C Bounds Safety access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is C Bounds Safety safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does C Bounds Safety use?

No licence was found for C Bounds Safety or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does C Bounds Safety use?

About 732 tokens (SKILL.md is roughly 2.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 35k tokens, read only when the agent opens those files.

What are the alternatives to C Bounds Safety?

Skills that share tags, products or a category with C Bounds Safety: Apple Crash Log .NET Symbolication (dotnet/skills, 5.6k stars), Update Swiftui APIs (AvdLee/SwiftUI-Agent-Skill, 3.7k stars), SwiftUI Design Skill (Wholiver/swiftui-design-skill, 204 stars) and Swiftui Iphone Duo (FloWritesCode/fwc-swiftui-skills, 407 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains C Bounds Safety?

superagents-lab (a GitHub organization) maintains it in superagents-lab/xcode27-skills, which has 341 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on June 9, 2026.

Source: superagents-lab/xcode27-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.