Skip to main content
Glama

Secure Software by Design

العربية · Skill · MIT License

A portable Agent Skill for defensive software design, implementation, review, and verification. It routes agents to focused guidance for the trust boundaries that actually change, from a bounded fix to an architecture review or staged brownfield rollout.

Install

Copy the whole skills/secure-software-by-design/ directory into one discovery directory in the target application. Keep the folder name and its internal paths unchanged. Do not copy only SKILL.md.

Agent

Place the skill under

OpenAI Codex

.agents/skills/

Claude Code

.claude/skills/

GitHub Copilot

.github/skills/ or .agents/skills/ on supported clients

Cursor

.cursor/skills/ or .agents/skills/

For a workspace shared by Codex, Cursor, and supported Copilot clients, use one copy under .agents/skills/. The table documents project paths, not every product tier or execution environment. If your agent lacks skill discovery, attach the directory or ask it to read SKILL.md and its relevant references explicitly.

Example (PowerShell, from the target application root; replace the source path):

$skill = 'C:/path/to/checkout/skills/secure-software-by-design'
New-Item -ItemType Directory -Force -Path '.agents/skills' | Out-Null
Copy-Item -LiteralPath $skill -Destination '.agents/skills/' -Recurse

Use a fresh destination, or replace a previously installed copy after reviewing your local changes. Native skill discovery does not require MCP or Docker. The optional helpers use Python 3.10+; the diff helper also uses Git, and the registry checker uses HTTPS for reviewed public package names only.

Related MCP server: tar-engine

MCP and Docker

The optional read-only MCP server exposes the bundled guidance over stdio or Streamable HTTP. Use list_guidelines to browse topics and get_guidelines to read one. The server does not inspect a target repository or run the native verification scripts. See the MCP and Docker guide for local setup, client configuration, and OCI distribution.

Try it

Use the secure-software-by-design skill to review the new record export.
Identify the access rule, verify permitted and denied flows with synthetic
fixtures, and report evidence, unverified checks, and remaining risks.

Repository layout

skills/secure-software-by-design/
  SKILL.md       # Portable entrypoint
  agents/        # Optional OpenAI discovery UI metadata
  assets/        # Skill icon
  references/    # Focused defensive guidance and tool documentation
  examples/      # Fictional sample report
  scripts/       # Diff scanner and public registry metadata checker
tests/           # Packaging, helper, and optional MCP integration tests
.github/         # Skill and MCP/Docker validation workflows
server.py        # Read-only MCP adapter
Dockerfile       # Build the optional MCP container

Validate locally

From the repository root, with Git and Python 3.10 or later:

python -B -m unittest discover -s tests -v

The tests cover the packaged structure and local links, defensive helper behavior, synthetic Git diffs, and mocked registry responses. Passing tests do not demonstrate live registry access, integration with every agent runtime, or the security of a target application.

To exercise the MCP and Docker integration tests, follow the verification steps.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      A runtime gate for coding agents. Blocks the tool calls that wreck a repo (force-push main, rm -rf, secret exfiltration, CI wipe) and lets normal build and commit work through. Machine-checked git-branch core (z3); the rest is high-precision heuristics. Tested on 3,790 real CI commands, 0 false blocks.
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Audits AI agent skills for safety using static, semantic, adversarial, and supply-chain analysis, providing scores and risk flags. Can be run via CLI, CI, or as an MCP tool from Claude Code, Cursor, and Codex.
      5
      2
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables coding agents to load NASA-derived software-engineering rules before implementation, dynamically expand them as scope changes, and enforce an evidence-based final review gate.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables coding agents to turn vague requests into context-rich, bounded, verifiable engineering tasks by inspecting project context, generating implementation specs and options, enforcing change boundaries, and verifying results with evidence.
      29 npm
      MIT