cirrus-uchicago/symbolon/array-to-scalar-vars

Claude Code and agent skill by cirrus-uchicago/symbolon

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when code reads fixed-size input into an array and only accesses individual elements

Install

npx vskill@latest install cirrus-uchicago/symbolon/array-to-scalar-vars

SKILL.md

The same SKILL.md was published earlier as cirrus-uchicago/symbolon/array-to-scalar-vars.

array-to-scalar-vars

Overview

A KLEE-coverage code transformation. Applying it rewrites C source so symbolic execution explores more of the program's behavior.

When to use

When code reads fixed-size input into an array and only accesses individual elements

Transformation

Replace array with individual scalar variables, reading each input element into a separate variable

Why it helps

KLEE handles scalar variables more efficiently than arrays, reducing symbolic memory complexity and constraint solving overhead

Example

Before:

c
#include <stdio.h>
char a[5];
int main(){
scanf("%s",a);if(a[0]==a[1]&&a[1]==a[2]&&a[0]==a[2]) puts("No");else puts("Yes");return 0;
}

After:

c
#include<stdio.h>
int main()
{
register char a,b,c;
a=getchar();b=getchar();c=getchar();
if(a==b&&b==c)puts("No");
else puts("Yes");
}

Evidence

  • Average coverage delta: 0.2358
  • Source problems: train_AtCoder_p02753
  • Rule id: 9e8a2092

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
11
7-day trend score
17

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/cirrus-uchicago/symbolon/array-to-scalar-vars/badge)](https://verified-skill.com/skills/cirrus-uchicago/symbolon/array-to-scalar-vars)

Something wrong with this skill or its page? Tell us.