embed-ci-setup

embed-ci-setup is a skill for Claude Code from addxai/enterprise-harness-engineering. It costs 75 tokens per session (2,356 once invoked), scanned A, original, Apache-2.0.

A setup guide for adding GitLab CI, the automated checks that run when code changes, to embedded C repositories. It includes SonarQube scanning, which checks source code for quality issues.

In plain words
What is it for?
Use it to create a GitLab CI file or add SonarQube scanning to an existing one. It is intended for embedded C projects and does not handle compilation builds or non-C languages.
Why use it?
It helps when a repository has no CI configuration or needs SonarQube checks before merge requests can be merged. It scans only changed C and header files, while reporting a failed quality gate as a warning.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the enterprise-harness-engineering plugin — 25 skills shipped together

Good fit Use it to create a GitLab CI file or add SonarQube scanning to an existing one. It is intended for embedded C projects and does not handle compilation builds or non-C languages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/addxai/enterprise-harness-engineering/embed-ci-setup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add addxai/enterprise-harness-engineering --skill embed-ci-setup
Clone the repo
git clone --depth 1 https://github.com/addxai/enterprise-harness-engineering

Made for: Claude Code.

Or install enterprise-harness-engineering, the plugin that ships this one along with the rest of its 25 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for embed-ci-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/addxai/enterprise-harness-engineering/embed-ci-setup.svg)](https://agentmods.dev/skills/addxai/enterprise-harness-engineering/embed-ci-setup)
Your own site
<a href="https://agentmods.dev/skills/addxai/enterprise-harness-engineering/embed-ci-setup"><img src="https://agentmods.dev/badge/skills/addxai/enterprise-harness-engineering/embed-ci-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,356 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00075 $0.02356
Opus 5 $0.00037 $0.01178
Sonnet 5 $0.00015 $0.00471
Haiku 4.5 $0.00007 $0.00236

Measured 8d ago against content hash 5595775c668f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

embed-ci-setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/embed-ci-setup/SKILL.md · 254 lines

How it starts

The opening of the file, as written. The whole thing — 254 lines — stays where its author put it; the contents beside it link to each section on GitHub.

embed-ci-setup

Quickly create a GitLab CI Pipeline for embedded (C language) repositories with SonarQube incremental code scanning.

Description

Embedded team rule: Repositories without a Pipeline cannot merge MRs. This Skill helps embedded engineers create a standard CI Pipeline for their repository within minutes, including:

  • MR-triggered SonarQube incremental scanning (scans only .c / .h files changed in this MR)
  • Quality Gate check (shows a warning on failure, does not block the MR)
  • Dynamically generated sonar-project.properties (project key auto-generated from the repository path)

Applicable scenarios:

  • Embedded repository has no Pipeline and needs one quickly
  • Existing .gitlab-ci.yml repository needs SonarQube scanning added
  • All embedded projects primarily using C language

Not applicable:

  • Non-C language projects (Go, Python, Java, etc. should use the global SonarQube template)
  • CI workflows requiring compilation builds (this Skill only does source-code static scanning)

Rules

Rule 1 — Environment Constraints (must understand)

All embedded repositories run CI on the company's unified GitLab platform, with these constraints:

Constraint Description
CI entry point Managed by your-org/ci-templates's entrypoint.yml, which auto-includes the business repository's .gitlab-ci.yml
Custom stages prohibited Do not declare stages: in .gitlab-ci.yml; use GitLab default stages. Custom stages that do not include test will cause pipeline creation failures
include method Must use include: project rather than include: local, because the CI entry point is in an external repository and local resolves to the wrong repository
Runner tag Use sonar-scanner
Docker image Must specify image: harbor.example.com/tools/embed-quality:v1.2.0; runner uses Kubernetes executor
SonarQube token Injected via GitLab CI/CD Variable SONAR_USER_TOKEN; project admin must configure in advance
SonarQube server https://sonarqube.example.com
No heredoc in YAML Do not use <<EOF ... EOF within script: | blocks — it causes YAML parsing errors; use echo line by line instead

Read the full file on GitHub · 254 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 254 lines · 75 tokens per session scan A 5595775c668f

Subscribe to this mod's changes

embed-ci-setup is a skill published in the GitHub repository addxai/enterprise-harness-engineering (44 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 75 tokens to every session and 2,356 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.