damianedwards/devbench/add-system-info

Claude Code and agent skill by damianedwards/devbench

Trust tier 2
  • community
LLM review pending
Source check pending

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

Guide for adding new system information collection to DevBench. Use this when asked to collect new hardware or OS details.

Install

npx vskill@latest install damianedwards/devbench/add-system-info

SKILL.md

Add System Information Collection

This skill guides you through adding new system information to DevBench.

Overview

System information is collected in src/DevBench.cs and stored in the results JSON. Each piece of info helps users compare their performance against similar machines.

Where to Add Code

In src/DevBench.cs, find the CollectSystemInfo() method. It's organized by:

  1. Cross-platform info - Works on all OSes
  2. Windows-specific - Inside #if WINDOWS block
  3. macOS-specific - Inside #if MACOS block
  4. Linux-specific - Inside #if LINUX block

Adding Cross-Platform Info

csharp
// In CollectSystemInfo()
systemInfo.NewProperty = GetNewProperty();
// Add helper method
static string GetNewProperty()
{
// Implementation that works on all platforms
return "value";
}

Adding Platform-Specific Info

csharp
#if WINDOWS
systemInfo.PlatformSpecific.WindowsProperty = GetWindowsProperty();
#elif MACOS
systemInfo.PlatformSpecific.MacProperty = GetMacProperty();
#elif LINUX
systemInfo.PlatformSpecific.LinuxProperty = GetLinuxProperty();
#endif

Common Techniques

Run a command and parse output
csharp
static string RunCommand(string command, string args)
{
var psi = new ProcessStartInfo(command, args)
{
RedirectStandardOutput = true,
UseShellExecute = false,
CreateNoWindow = true
};
using var process = Process.Start(psi);
return process?.StandardOutput.ReadToEnd().Trim() ?? "";
}
Windows: Query WMI
csharp
#if WINDOWS
static string GetWmiValue(string className, string propertyName)
{
// Use System.Management or PowerShell
var output = RunCommand("powershell",
$"-Command \"(Get-CimInstance {className}).{propertyName}\"");
return output;
}
#endif
macOS: Use system_profiler
csharp
#if MACOS
static string GetMacSystemInfo(string dataType)
{
return RunCommand("system_profiler", $"{dataType} -json");
}
#endif
Linux: Read from /proc or /sys
csharp
#if LINUX
static string ReadProcFile(string path)
{
return File.Exists(path) ? File.ReadAllText(path).Trim() : "";
}
#endif

Update the Results Schema

After adding new info, update the SystemInfo class and docs/benchmark-schema.md to document the new field.

Checklist

  • [ ] Added collection code to CollectSystemInfo()
  • [ ] Used appropriate platform guards (#if WINDOWS etc.)
  • [ ] Handled errors gracefully (return empty string or default)
  • [ ] Updated SystemInfo class with new property
  • [ ] Updated docs/benchmark-schema.md with new field
  • [ ] Tested on target platform(s)
  • [ ] Verified results JSON includes new field

Testing

powershell
dotnet run src/DevBench.cs -- --system-info-only

This prints collected system info without running benchmarks.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

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

Source

Popularity

7-day trend score
0

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/damianedwards/devbench/add-system-info/badge)](https://verified-skill.com/skills/damianedwards/devbench/add-system-info)

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