Skip to content
Back to skills

Isms Setup

ASecurity

Build or extend an ISO/IEC 27001:2022 ISMS in devguard that describes what the organization really does. Interviews the user, adopts the standard, drafts the scope and context, the information security policy, roles, objectives and the monitoring plan, rewrites the topic policies from devguard's templates to match practice, maps every section to its clauses and controls, and fills the asset and supplier registers. The agent drafts; people approve every policy. Use when someone asks to set up,...

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsgonodegitapisecurityperformance

Works with

  • claude code
  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add devguardch/skills --skill isms-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Isms Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Isms Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/devguardch-isms-setup/badge)](https://www.skillsdirectory.com/skills/devguardch-isms-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: isms-setup
description: Build or extend an ISO/IEC 27001:2022 ISMS in devguard that describes what the organization really does. Interviews the user, adopts the standard, drafts the scope and context, the information security policy, roles, objectives and the monitoring plan, rewrites the topic policies from devguard's templates to match practice, maps every section to its clauses and controls, and fills the asset and supplier registers. The agent drafts; people approve every policy. Use when someone asks to set up, build or complete an ISMS, write or rewrite policies, or get ready for ISO 27001 certification in devguard.
license: MIT
---

# ISMS setup

The aim is the smallest ISMS that meets ISO/IEC 27001:2022 for the organization's size and describes what it really does. A certification auditor tests every policy against practice, and a policy nobody follows is a finding. So this skill asks before it writes, starts from devguard's templates, and leaves every approval to a person.

Risks, the treatment plan and the Statement of Applicability belong to the `risk-assessment` skill, and the audit to `internal-audit`.

## Rules

These hold for the whole session, whatever the user asks.

1. **Describe what the organization does.** Write nothing into a policy that the people do not do. When the repo, devguard or the user cannot tell you a fact, ask. Write a planned measure as planned, with a date and its owner ("by 31 March, the CTO"), never in the present tense.
2. **People approve.** Never approve or publish a policy (in devguard, approving publishes), never mark anything as reviewed, and never drop a framework. devguard refuses these from an agent.
3. **Leave published policies alone unless asked.** Editing a published policy, or changing its control mappings, sends it back to draft, and a person has to approve it again. Change one only when the user asks, and say so before you do.
4. **Ask before every write.** Show what you are about to write, as a table or the full text, and wait for an explicit yes in this conversation. A yes covers that batch only.
5. **Link, don't repeat.** Write the company name, acronyms and terms as mentions of their variable, acronym or definition, and point to another policy or one of its sections instead of restating it. Add a missing acronym, variable or definition first, then link it.
6. **No open fields.** devguard refuses to approve a policy that still holds `[text in brackets]`, in its text or in a variable it mentions. Fill each one from the interview, or ask.
7. **Keep it small.** Use the roles people hold, not the titles a large company would have. One topic policy can cover several controls. Leave out what the organization does not need, and say why.
8. **Do not copy the standards.** ISO text is copyrighted. Describe a requirement in your own words and cite its clause or control.
9. **Language.** Talk in the user's language. Write policies in the organization's language: devguard's templates come in English and German.

## Access

Connect the devguard MCP server at `https://app.devguard.ch/api/mcp/` and sign in with "Allow read and write". Writes over MCP need a paid devguard plan. With read-only access, the interview and the drafts still work, but the policies have to be entered by hand. If the devguard tools are missing, ask the user to connect devguard as described in https://docs.devguard.ch/settings/integrations/mcp (with the devguard plugin in Claude Code, `/mcp` signs in).

- The server lists ready-made read tools for common questions. This skill uses `listPeople` (each person with the business roles they hold). `searchApi` does not find it, because it is not an API operation.
- For everything else, `searchApi` finds operations by keyword and returns each one's name and input schema. Search before each new kind of call. Never guess an operation name or a field.
- `readApi` runs a read and `writeApi` a write. The connection fills in the organization.
- Lists come in pages. Ask for `limit: 100` and read every page before you count or conclude anything.
- A patch keeps the fields you leave out, but some fields are required on every patch, such as `id`, `slug`, `name` and `ownerId` on assets and suppliers. Read the record first and send those back as stored.
- The API returns bare numbers. Write an ID the way the app shows it, so a search in the app finds it: the prefix, then the number padded to three digits.

  | Entity | ID | Entity | ID |
  | --- | --- | --- | --- |
  | Task | TSK-087 | Risk | R-017 |
  | Treatment action | RTA-019 | Risk review | RAR-002 |
  | Evidence | EV-008 | Access review | EAR-004 |
  | Record | RE-003 | Asset | A-022 |
  | Incident | INC-001 | Asset review | AAR-001 |
  | Supplier | V-014 | Supplier assessment | VA-001 |
  | Supplier review | VAR-001 | Integration check | CHK-001 |

## Policy content

devguard stores a policy as TipTap JSON, and no operation takes markdown. Build it like this:

- the root is `{"type": "doc", "content": [...]}`, and every root node is a `PolicySection`;
- every `PolicySection`, nested ones too, has `attrs.name` (its title) and a unique, non-empty `attrs.uid`. Do not repeat the title as a heading inside it;
- inside a section: `paragraph`, `bulletList` with `listItem`, `table` with `tableRow`, `tableHeader` and `tableCell` (each cell holds a paragraph), and nested `PolicySection`s.

```json
{"type":"doc","content":[{"type":"PolicySection","attrs":{"name":"Purpose","uid":"purpose"},"content":[{"type":"paragraph","content":[{"type":"text","text":"Why this policy exists."}]}]}]}
```

A mention is an inline node: `{"type":"collectionMention","attrs":{"id":"…","name":"…","slug":"…","type":"variable"}}`. `type` is `acronym`, `definition`, `variable`, `policy`, `record`, `training`, `process` or another register's name. `name` is the acronym itself for an acronym, the title for a policy, record or training, and the name otherwise. To point to a section of another policy, add its `sectionUid` and `sectionName`.

When you edit a policy, read it first (`policy.list` with `filterByTitle` returns the content) and keep every existing `uid`: control mappings hang off them. Removing a section drops its mappings, and devguard refuses to remove one that holds an assessed control.

## Steps

### 1. Set up and interview

Read what exists: adopted frameworks, policies and their status, roles and who holds them, schedules, record categories, assets, suppliers and trainings. Then ask, in small groups of questions:

- the organization: legal name, address, size, locations, remote or office;
- what it sells, to whom, and which customer or legal requirements apply;
- its systems: where data lives, the cloud and SaaS suppliers, how code is built and deployed;
- its people and roles: who decides, who runs IT and security, who approves what;
- what it already does: access and accounts, backups, incident handling, development, onboarding and offboarding, devices;
- the target date for certification, if there is one.

### 2. Adopt the standard

If ISO/IEC 27001:2022 is not adopted, offer to adopt it with `framework.adopt`, and to plan a roadmap to the target date with `framework.planRoadmap`. Adopt it before you create policies from templates: a template leaves out the sections for standards the organization has not adopted.

### 3. Foundation

Create the core documents from devguard's templates with `policy.createFromTemplates`, each with an owner role as approver, then rewrite them from the interview:

- **Scope and context** (template `isms-scope`, 4.1 to 4.4): the scope statement with its boundaries and applicability, the interfaces and dependencies with what suppliers, customers or a parent company do, and any part left out with the reason (4.3); internal and external issues, including whether climate change is relevant (4.1, as amended in 2024); the interested parties, their relevant requirements, which of them the ISMS addresses, and any climate-related ones (4.2, note added in 2024).
- **Information security policy** (template `information-security`, 5.1 to 5.3, 7.1 to 7.5): fit to the organization's purpose, the objectives or how they are set, a commitment to meet applicable requirements and one to improve the ISMS continually (5.2), with top management as approver; roles, responsibilities and authorities, naming who makes sure the ISMS conforms to the standard and who reports its performance to top management (5.3); resources, competence, awareness, communication and documented information (7.1 to 7.5).
- **Objectives and monitoring plan** (template `security-objectives`, 6.2, 9.1): three to five measurable objectives that follow from the policy and the risk assessment results (revisit them after `risk-assessment`), each with what will be done, the resources, an owner, a due date, a target and how the result is evaluated (6.2); what is monitored and measured, the method, when and by whom, and when and by whom the results are analysed and evaluated (9.1).

Add the variables the documents mention, such as the company name and address, and the acronyms and definitions they use. Create a role for each responsibility people really hold (`role.create`), with its members from `listPeople` and the competence it requires (7.2).

### 4. Topic policies

List the templates with `policy.listTemplates`. Propose the topic policies the organization needs, such as access control, asset management, supplier management, secure operations, risk management, the legal register, and onboarding and offboarding (7.2, 7.3), and say which controls each one covers. On a yes, create them, then rewrite each to match practice from the interview.

Give each policy an owner role (`approverId`) and a review schedule (`schedule.create` takes one RRULE line, such as `FREQ=YEARLY;BYMONTH=1;BYMONTHDAY=15`). Map each section to the clauses and controls it meets with `policyControl.mapControlToPolicy` and the section's `sectionUid`. Find control ids with `policyControl.searchControlsForPolicyMapping`.

### 5. Monitoring plan and registers

- **Monitoring plan (9.1):** for each recurring activity in the plan, such as access reviews, backups and restore tests, or the internal audit, create a record category with an owner and a cadence (`record.createCategory` with `cadenceScheduleId`).
- **Assets (A.5.9):** each information asset and system with an owner and confidentiality, integrity and availability ratings.
- **Suppliers and cloud services (A.5.19 to A.5.23):** each supplier with an owner, what it does and the data it handles. Leave its approval to a person: devguard refuses an approval status from an agent.
- **Trainings (7.3):** the awareness training everyone takes, and how often.

### 6. Check before handing over

Read every draft as a certification auditor would:

- Does it meet the clause or control it is mapped to?
- Does it promise anything the people do not do?
- Is any `[text in brackets]` left?
- Is every section mapped, and every name, acronym and policy reference a mention?

Fix what you find. Then give the user the list of drafts to approve, with their links, the open questions, and what comes next: the risk assessment and SoA (`risk-assessment`), then the internal audit (`internal-audit`) and the management review (`management-review`).

## Done when

- ISO/IEC 27001:2022 is adopted;
- the scope and context, the information security policy, the objectives with the monitoring plan, and the topic policies exist as drafts that match practice, with owners, review schedules and control mappings;
- roles, variables, acronyms, record categories, assets, suppliers and trainings are in devguard;
- the user has the approval list and the open questions.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.