cybersecurity-plan
Skill4 starsChanged 15 days agoMITView on GitHub
Project-dependent cybersecurity management of ISO/SAE 21434 (clauses 6, 7, 12 to 14): responsibilities, the cybersecurity plan with an activity and a decision per subclause in scope, tailoring with reasons, the TARA method (impact categories, feasibility approach, risk matrix), reuse, out-of-context and off-the-shelf components, the cybersecurity interface agreement with customer or supplier, the post-development plans, the cybersecurity case and the record of an independent assessment. Use when a clause of ISO/SAE 21434 is under scope.cybersecurity and no approved plan of kind cybersecurity exists (COV-27), when scope, responsibilities or the method change, when the trace check reports COV-53, or when the case is to be prepared or an assessment recorded.
In this repository38 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- aspice-startSkill
- baselineSkill
- change-requestSkill
- component-qualificationSkill
- cybersecurity-conceptSkill
- documentsSkill
- haraSkill
- import-inputsSkill
- mock-assessmentSkill
- next-stepSkill
- problem-resolutionSkill
- process-gateSkill
- project-planSkill
- project-statusSkill
- quality-assuranceSkill
- releaseSkill
- reviewSkill
- risk-managementSkill
- safety-analysisSkill
- safety-conceptSkill
- safety-planSkill
- supplier-monitoringSkill
- sw-architectureSkill
- sw-detailed-designSkill
- sw-integration-testSkill
- sw-qualification-testSkill
- sw-requirementsSkill
- sw-unit-implementSkill
- sw-unit-verifySkill
- sys-architectureSkill
- sys-integration-testSkill
- sys-qualification-testSkill
- sys-requirementsSkill
- taraSkill
- trace-checkSkill
- vulnerability-managementSkill
- work-breakdownSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 36
Run python tools/traceability.py status, python tools/traceability.py check and python tools/traceability.py clauses.
- Very specific: line 43
Read references/plan-template.md.
- Very specific: line 65
Run python tools/traceability.py clauses and show, per work product, the items that provide it and the open findings.
- Very specific: line 74
Only where the plan asks for one.
- Very specific: line 95
Run python tools/traceability.py check and python tools/traceability.py clauses.
- Distinctive: line 112
Do not decide a tailoring, a responsibility, a rating method or an assessment judgement in anyone's name.
- Distinctive: line 114
Do not write the argument of the case or the assessor's report yourself.
- Distinctive: line 116
Do not record an agreement with a customer or supplier that the user has not stated.
- Distinctive: line 117
Do not copy the text of ISO/SAE 21434 or its annexes into a plan.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Cybersecurity management of the project (ISO/SAE 21434 clauses 6, 7, 12 to 14)
Toolkit root:
${CLAUDE_PLUGIN_ROOT}- where this shows a placeholder instead of a folder, it is the repository you are in. Thetools/,schema/,aspice/,iso-26262/,iso-sae-21434/,examples/and.claude/docs/named here and in the references lie in the toolkit root; run its tools from the project folder aspython "<toolkit root>/tools/<script>.py".
Sets up how the project does cybersecurity engineering: who is responsible, which
activity of the standard is done, by whom, when and with which result, which is tailored
and why, and how risks are rated. At the end it argues in a cybersecurity case that the
result is adequate and records the judgement of an independent assessor where the plan
asks for one. The result is a plan of kind cybersecurity, plans of the kinds the
other clauses in scope need, a cybersecurity-case and a cybersecurity-assessment.
| Subclause | What this skill does | Evidence it leaves |
| 21434:6.4.1 Cybersecurity responsibilities | asks who is responsible for cybersecurity and for each activity | Responsibilities; responsible per activity |
| 21434:6.4.2 Cybersecurity planning | drafts an activity per subclause in scope with work products and dates | plan of kind cybersecurity (WP-06-01); COV-27, COV-53 |
| 21434:6.4.3 Tailoring | records each tailored or omitted activity with the reason the objective is still reached | decision, rationale per activity; COV-53 |
| 21434:6.4.4 to 6.4.6 Reuse, out-of-context, off-the-shelf | asks per reused, supplied or third-party component what is analysed or done again | entries for 6.4.4 to 6.4.6 |
| 21434:6.4.7 Cybersecurity case | prepares the evidence per work product; the responsible person writes the argument | cybersecurity-case (WP-06-02) |
| 21434:6.4.8 Cybersecurity assessment | prepares the assessment; records what the independent assessor judges | cybersecurity-assessment (WP-06-03) |
| 21434:6.4.9 Release for post-development | not a record of its own: a baseline and a communication record that name the case and the assessment | /baseline, communication record |
| 21434:7.4.1, 7.4.2 Supplier capability, request for quotation | not covered beyond the plan entry; supplier agreements are /supplier-monitoring | entries in the plan |
| 21434:7.4.3 Alignment of responsibilities | drafts the cybersecurity interface agreement | plan of kind cybersecurity-interface-agreement (WP-07-01) |
| 21434:12, 13.3, 14.3 Post-development | drafts the production control, incident response and end-of-support plans for the clauses in scope | plans of those kinds (WP-12-01, WP-13-01, WP-14-01) |
Before you start
- No
project.yaml: stop. "This project has no scope yet. Run/aspice-startfirst." scope.cybersecurityempty or absent: say that the project declares no clause of ISO/SAE 21434 and stop;/aspice-startadds them.- Run
python tools/traceability.py status,python tools/traceability.py checkandpython tools/traceability.py clauses. ReadCOV-27for the cybersecurity kinds andCOV-53.
Steps
1. Responsibilities and plan (6.4.1 to 6.4.6)
- Read
references/plan-template.md. Ask the decisions listed there, one at a time: the person responsible for cybersecurity, the decision per subclause, the TARA method, whether an assessment is done and by whom. The template's values are an example. clauseslists every subclause of the clauses in scope: write one entry per subclause intocybersecurity_activities, quoted ("9.4"). A tailored or not-applicable entry needs the user's reason; by-customer and by-supplier need the interface agreement.- Reuse and components from elsewhere: list the software components of origin reused,
supplied or third-party (
list --type software-component), ask what is analysed or repeated for each, and write it into the entries of 6.4.4 to 6.4.6.
2. Interface agreement (7.4.3)
- Where a customer or supplier performs part of the activities, read
references/agreements-and-post-development.mdand draft the plan of kindcybersecurity-interface-agreement. Record the agreement only when the user states that both parties agreed, with who and when, as a communication record:python tools/record.py communication --subject <PLN-ID> --audience <party> --channel <how> --agreement "<what, by whom>".
3. Post-development plans (12, 13.3, 14.3)
- For each of these clauses under
scope.cybersecurity, draft the plan of its kind from the same reference. Clause 8 (monitoring) is/vulnerability-management.
4. Cybersecurity case (6.4.7)
- Run
python tools/traceability.py clausesand show, per work product, the items that provide it and the open findings. Ask the person responsible for the argument: why the cybersecurity of the item is adequate, which open findings are accepted and why. Write their words to a file, show it, and only on their yes runpython tools/record.py cybersecurity-case --prepared-by "<name>" --argument <file>. - Work products without evidence and open errors are part of the case as they are; the record lists them. Do not leave them out of the argument.
5. Cybersecurity assessment (6.4.8)
- Only where the plan asks for one. The assessor is named by the user and is independent
of the case's author. Prepare for them: the case,
clauses,check,tara. Record what they state:python tools/record.py cybersecurity-assessment --case <CSE-ID> --assessor "<name>" --independence "<how>" --judgement <accepted|conditionally-accepted|rejected> --report <file>with--conditionsfor a conditional acceptance.
6. Release for post-development (6.4.9)
- Say that the toolkit has no record of its own for it:
/baselinecreates the baseline of the released configuration, and its communication record names the case and the assessment.
Writing
- Show each plan before writing it and ask: "May I write PLN-NNNN in
plans/?" IDs frompython tools/record.py next-id plan; statusdraft; approval through/reviewwith the checklistplan.md. - Names of people come from the user. The argument of the case and the report of the assessment are written in the words of the person who stands behind them.
Checks before you finish
Run python tools/traceability.py check and python tools/traceability.py clauses.
FORMAT,SCHEMA,LINKon items written in this session: fix them.COV-27andCOV-53: report each with what closes it.- Quote
clausesfor the state per subclause; do not restate it from memory.
Hand-over
- The subclause table with what was done and what is open.
- The decisions per subclause as
clausesprints them, and the work products without evidence. - Decisions still owed: responsibilities, tailoring reasons, the TARA method, the assessor, agreements with other parties.
- Next:
/reviewfor the plans;/tara;/cybersecurity-concept;/vulnerability-managementwhere clause 8 is in scope;/baselinefor the release.
Do not
- Do not decide a tailoring, a responsibility, a rating method or an assessment judgement in anyone's name.
- Do not write the argument of the case or the assessor's report yourself; draft only what the person asks for and record their words.
- Do not record an agreement with a customer or supplier that the user has not stated.
- Do not copy the text of ISO/SAE 21434 or its annexes into a plan; the catalog gives the identifiers and the objectives in our words.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

