Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# MDX操作の禁止事項

プロジェクト情報の変更を伴う申請系操作と、MDX運営・管理者・サポート担当の
審査・承認・手動対応を発生させる操作はすべて禁止する。
申請の作成・送信・変更・再申請・取下げ・取消、問い合わせ送信・チケット起票も含む。
CLI・直接API・Web画面・スクリプト・メールなど、経路を問わず適用し、通常の実行確認では解除しない。
運営側の対応が発生するか不明な操作は、送信して試さず読み取り調査までにとどめる。

詳細と通常操作の安全ルールは [mdx-cliスキル](skills/mdx-cli/SKILL.md#prohibited-operations) を参照する。
6 changes: 6 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
日本語で回答してください。
t-wadaのTDDを実践してください。

## MDX操作の禁止事項

プロジェクト情報の変更を伴う申請系操作と、MDX運営側の対応を発生させる操作はすべて禁止する。
申請の取消や問い合わせ送信も含む。経路や通常の実行確認によって解除しない。
詳細は [AGENTS.md](AGENTS.md) と [mdx-cliスキル](skills/mdx-cli/SKILL.md#prohibited-operations) を参照する。

## プロジェクト概要

MDX 1 クラウドインフラのCLIツール。Shibboleth SSO経由でログインし、VM・ネットワーク・テンプレート等をコマンドラインから操作する。
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ mdx --version

## Skill としてインストール

AIエージェントによる、プロジェクト情報の変更を伴う申請系操作とMDX運営側の対応を発生させる操作はすべて禁止です。
詳細は [スキルの禁止事項](skills/mdx-cli/SKILL.md#prohibited-operations) を参照してください。

Codex / Claude Code の skill として使う場合:

```bash
Expand Down
10 changes: 10 additions & 0 deletions pages/content/agent.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# AIエージェントから使う

## 禁止事項

- プロジェクト情報の変更を伴う申請系操作はすべて禁止。申請の作成・送信・変更・再申請・取下げ・取消も含む。
- MDX運営・管理者・サポート担当の審査・承認・手動対応を発生させる操作はすべて禁止。資源・クォータの増量申請、利用期間の延長申請、問い合わせ送信・サポートチケット起票も含む。
- CLI・直接API・Web画面・スクリプト・メールなど、経路を問わず適用する。CLIに機能がないことを理由に別経路で代行しない。
- 通常の実行確認では解除しない。運営側の対応が発生するか不明な操作は、送信して試さず読み取り調査までにとどめる。
- 情報の閲覧、ローカルのプロジェクト選択、運営側の対応を要しない許可済みのVM・ネットワーク操作には、従来の安全ルールを適用する。

## スキルのインストール

Codex / Claude Code の skill として使う場合:

```bash
Expand Down
4 changes: 4 additions & 0 deletions pages/content/projects.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# プロジェクトと利用状況

AIエージェントによる、プロジェクト情報の変更を伴う申請系操作とMDX運営側の対応を発生させる操作はすべて禁止です。
申請の作成・送信・変更・再申請・取下げ・取消も含みます。詳しくは [AIエージェントの禁止事項](agent.html) を参照してください。
以下は情報の閲覧とローカルのプロジェクト選択用のコマンドです。

## プロジェクトを選ぶ・情報を見る

```bash
Expand Down
14 changes: 14 additions & 0 deletions skills/mdx-cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@ Use this skill to operate the `mdx` command safely and accurately. The CLI contr

For exact command syntax, options, and behavior, read [references/cli-spec.md](references/cli-spec.md).

## Prohibited Operations

- Never perform any application/request operation that changes MDX project information.
This includes creating, submitting, modifying, resubmitting, withdrawing, or cancelling an application.
- Never initiate any operation that creates review, approval, or manual work for MDX operators,
administrators, or support staff. Examples include project changes, resource/quota increase requests,
usage-period extensions, and sending support inquiries or opening support tickets.
- This prohibition applies through every route: the CLI, direct API calls, the web portal, scripts,
email, and other tools. Do not use another route when the CLI has no corresponding command.
- Ordinary execution confirmation does not lift this prohibition.
If an operation's effect on MDX staff is unclear, investigate read-only; do not test it by submitting.
- Read-only inspection, local project selection, and authorized self-service VM/network operations
that require no MDX staff action remain subject to the normal safety rules below.

## Safety Rules

- Confirm the user is on MDX VPN or inside an MDX VM before commands that contact `oprpl.mdx.jp` or `mdxidm.mdx.jp`.
Expand Down
4 changes: 4 additions & 0 deletions skills/mdx-cli/references/cli-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ Tokens are auto-refreshed where possible. If token refresh fails, normal API aut

## Projects

Project information changes through applications/requests and all operations requiring MDX staff action
are prohibited; see [Prohibited Operations](../SKILL.md#prohibited-operations).
Project commands read information or save the selected project locally.

| Command | Arguments/options | Purpose |
|---|---|---|
| `mdx project list [--json]` | none | List assigned projects. |
Expand Down
Loading