automotive-adas

automotive-adas is a skill for Claude Code, Codex from pangzhenying2025/hermes-automotive-skills. It costs 39 tokens per session (45,225 once invoked), scanned A, original, MIT.

Guidance for building advanced driver-assistance features in vehicles, such as cruise control that follows traffic, lane keeping, emergency braking, parking help, and traffic-sign recognition. It also covers vehicle software integration, camera vision, high-definition map positioning, and driving-path control.

In plain words
What is it for?
Implementing assistance features from low-speed or basic automation up to L2+ systems, integrating them with AUTOSAR vehicle software, processing camera data, using maps for positioning, and controlling the planned driving path.
Why use it?
It gives developers a starting point for implementing and connecting the software behind driver-assistance systems, instead of leaving each vehicle feature and integration detail to be worked out from scratch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Implementing assistance features from low-speed or basic automation up to L2+ systems, integrating them with AUTOSAR vehicle software, processing camera data, using maps for positioning, and controlling the planned driving path.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pangzhenying2025/hermes-automotive-skills/automotive-adas
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 pangzhenying2025/hermes-automotive-skills --skill automotive-adas
Clone the repo
git clone --depth 1 https://github.com/pangzhenying2025/hermes-automotive-skills

Made for: Claude Code, Codex.

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 automotive-adas

README.md
[![agentmods](https://agentmods.dev/badge/skills/pangzhenying2025/hermes-automotive-skills/automotive-adas/github.svg)](https://agentmods.dev/skills/pangzhenying2025/hermes-automotive-skills/automotive-adas)
Your own site
<a href="https://agentmods.dev/skills/pangzhenying2025/hermes-automotive-skills/automotive-adas"><img src="https://agentmods.dev/badge/skills/pangzhenying2025/hermes-automotive-skills/automotive-adas/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for automotive-adas

Your own site · 80×15
<a href="https://agentmods.dev/skills/pangzhenying2025/hermes-automotive-skills/automotive-adas"><img src="https://agentmods.dev/badge/skills/pangzhenying2025/hermes-automotive-skills/automotive-adas.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 45,225 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.00039 $0.45225
Opus 5 $0.00019 $0.22613
Sonnet 5 $0.00008 $0.09045
Haiku 4.5 $0.00004 $0.04523

Measured 12d ago against content hash 95e78c701a0a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

automotive-adas 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 12d 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/automotive-adas/SKILL.md · 5,687 lines

How it starts

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

Automotive Adas

Adas Features Implementation

ADAS Features Implementation

Overview

Concrete implementations of ADAS features: Adaptive Cruise Control (ACC), Lane Keep Assist (LKA), Automatic Emergency Braking (AEB), Blind Spot Detection (BSD), Park Assist, and Traffic Sign Recognition (TSR). Production-ready code for L0-L2+ systems.

Adaptive Cruise Control (ACC)

Full ACC Implementation

#include <Eigen/Dense>
#include <algorithm>
#include <cmath>

class AdaptiveCruiseControl {
public:
    struct ACCParams {
        double time_gap = 2.0;              // seconds (ISO 22179)
        double min_distance = 5.0;          // meters
        double max_acceleration = 2.0;      // m/s²
        double max_deceleration = -3.0;     // m/s²
        double comfort_decel = -2.0;        // m/s²
        double set_speed = 30.0;            // m/s (108 km/h)
        double speed_tolerance = 2.0;       // m/s
    };

    enum class ACCMode {
        OFF,
        STANDBY,
        ACTIVE_CRUISE,
        ACTIVE_FOLLOWING,
        EMERGENCY_BRAKE
    };

    AdaptiveCruiseControl(const ACCParams& params) : params_(params), mode_(ACCMode::STANDBY) {}

    struct ACCOutput {
        double acceleration;        // Commanded acceleration (m/s²)
        ACCMode mode;
        double target_speed;
        double target_distance;
        bool warning_issued;
    };

    ACCOutput compute(double ego_velocity, double ego_acceleration,
                     const std::vector<DetectedObject>& objects) {
        ACCOutput output;
        output.mode = mode_;
        output.warning_issued = false;

        // Find lead vehicle
        auto lead_vehicle = find_lead_vehicle(objects, ego_velocity);

        if (!lead_vehicle.has_value()) {
            // No lead vehicle - cruise control mode
            output.acceleration = cruise_control(ego_velocity);
            output.target_speed = params_.set_speed;
            output.target_distance = 0.0;
            mode_ = ACCMode::ACTIVE_CRUISE;
        } else {
            // Following mode
            double relative_velocity = ego_velocity - lead_vehicle->velocity;
            double distance = lead_vehicle->distance;
            double desired_distance = calculate_desired_distance(ego_velocity);

            // Calculate acceleration using Intelligent Driver Model (IDM)
            output.acceleration = intelligent_driver_model(
                ego_velocity, distance, relative_velocity, desired_distance
            );

            output.target_speed = lead_vehicle->velocity;
            output.target_distance = desired_distance;

            // Check for emergency
            double ttc = time_to_collision(distance, relative_velocity);
            if (ttc > 0 && ttc < 2.0 && relative_velocity > 0) {
                output.acceleration = params_.max_deceleration;
                output.warning_issued = true;
                mode_ = ACCMode::EMERGENCY_BRAKE;
            } else {
                mode_ = ACCMode::ACTIVE_FOLLOWING;
            }
        }

        // Clamp acceleration
        output.acceleration = std::clamp(output.acceleration,
                                        params_.max_deceleration,
                                        params_.max_acceleration);

        return output;
    }

private:
    ACCParams params_;
    ACCMode mode_;

    struct DetectedObject {
        double distance;   // meters (longitudinal)
        double velocity;   // m/s
        double lateral_offset;  // meters
        std::string object_class;
    };

    std::optional<DetectedObject> find_lead_vehicle(
        const std::vector<DetectedObject>& objects, double ego_velocity)
    {
        std::optional<DetectedObject> lead;
        double min_distance = std::numeric_limits<double>::max();

        for (const auto& obj : objects) {
            // Filter: only consider vehicles in same lane
            if (std::abs(obj.lateral_offset) > 1.5) continue;

            // Filter: only vehicles ahead
            if (obj.distance < 0) continue;

            // Find closest
            if (obj.distance < min_distance) {
                min_distance = obj.distance;
                lead = obj;
            }
        }

        return lead;
    }

    double cruise_control(double ego_velocity) {
        // Simple P controller to reach set speed
        double error = params_.set_speed - ego_velocity;
        double kp = 0.5;
        return std::clamp(kp * error, params_.max_deceleration, params_.max_acceleration);
    }

    double calculate_desired_distance(double ego_velocity) {
        // Time gap policy: d = d_min + v * T
        return params_.min_distance + ego_velocity * params_.time_gap;
    }

    double intelligent_driver_model(double velocity, double distance,
                                    double relative_velocity, double desired_distance) {
        // IDM parameters
        const double a_max = params_.max_acceleration;
        const double b_comfortable = -params_.comfort_decel;
        const double delta = 4.0;  // Acceleration exponent

        // Desired dynamical distance
        double v_approach_term = velocity * relative_velocity / (2 * std::sqrt(a_max * b_comfortable));
        double s_star = params_.min_distance + std::max(0.0, velocity * params_.time_gap + v_approach_term);

        // IDM acceleration
        double accel = a_max * (1.0 - std::pow(velocity / params_.set_speed, delta) -
                               std::pow(s_star / distance, 2.0));

        return accel;
    }

    double time_to_collision(double distance, double relative_velocity) {
        if (relative_velocity <= 0) return -1.0;  // No collision
        return distance / relative_velocity;
    }
};

Read the full file on GitHub · 5,687 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. 12d ago First seen · 5,687 lines · 39 tokens per session scan A 95e78c701a0a

Subscribe to this mod's changes

automotive-adas is a skill published in the GitHub repository pangzhenying2025/hermes-automotive-skills (5 stars, last pushed 3mo ago), licensed MIT. It adds 39 tokens to every session and 45,225 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

iso26262

ISO 26262 functional-safety expert that operates in two modes: (1) HARA / ASIL determination — enumerate hazardous events from item malfunctions × driving situations, rate Severity (S0–S3), Exposure (E0–E4), Controllability (C0–C3), look up ASIL from ISO 26262-3:2018 Table 4, and produce a HARA report with Safety…

ptsilivis/autonomousguy · 197 tokens

automotive-syseng

When the user wants to analyze automotive requirements, check INCOSE/EARS compliance, review MISRA-C code, assess ADAS levels, or verify ISO 26262/AUTOSAR/SOTIF conformance. Also use when the user says 'check requirements', 'EARS check', 'INCOSE analysis', 'MISRA check', 'ASIL assessment', 'V-model check'…

duonghvu/automotive-syseng · 122 tokens

automotive-expert

Expert-level automotive systems, connected vehicles, fleet management, telematics, ADAS, and automotive software. Use when the user mentions connected car, fleet, telematics, ADAS, or vehicle, or when the task involves Automotive Systems, Technologies, Standards and Protocols, or Fleet Management.

personamanagmentlayer/pcl · 64 tokens

codebase-analysis

First-run skill that walks the entire repository, auto-detects Classic vs Adaptive AUTOSAR, and maps it accordingly. For Classic (default): identifies features and SWCs and documents referenced requirement IDs (SW-REQ-, REQ-, FSR-, SYS-REQ-), port interfaces (S/R, C/S, Mode Switch, Parameter), dependencies on other…

ptsilivis/autonomousguy · 225 tokens

autosar-bsw

AUTOSAR BSW expert. Defaults to Classic AUTOSAR (BSW/MCAL/RTE, static config, C, AUTOSAR OS) and operates in six modes: (1) BSW configuration — Com, NvM, Dem, Dcm, Os, MemIf with dependency chain and EB Tresos / DaVinci container paths; (2) ARXML debugging — classify, locate, and fix consistency errors with a…

ptsilivis/autonomousguy · 285 tokens

autosar-swc

AUTOSAR SWC expert. Defaults to Classic AUTOSAR (SWCs, RTE, ARXML, C) and operates in five modes: (1) Component design — decompose a feature into SWC types, define port interfaces, specify runnables and ExclusiveAreas, produce a plain-text composition diagram; (2) Interface definition — SenderReceiver / ClientServer /…

ptsilivis/autonomousguy · 240 tokens