Response style sync
Codex 응답 스타일·프로젝트 규칙을 AGENT.md/CLAUDE.md에 동기화하는 스킬 | Codex skill for syncing response style and project rules into AGENT.md and CLAUDE.md
npx -y skills add coreline-ai/codex-resstyle-skill --skill response-style-syncAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Create, refine, and sync project response style, agent execution rules, and LLM/proxy usage policy into AGENT.md and CLAUDE.md from reusable JSON profiles. Use when the user wants to standardize Korean-first answers, force dev-plan-first workflows, require clarification before risky decisions, block default cloud API usage, prefer proxies such as multi_model_tui, or keep AGENT.md / CLAUDE.md aligned with a shared project rule set across repositories.
SKILL.md
4.4 KB, as published. Nobody here has run it
Response Style Sync
Overview
Use this skill to manage project rules as reusable JSON profiles and sync them into AGENT.md / CLAUDE.md.
The skill supports three separate policy layers:
- response style
- agent execution policy
- LLM / proxy usage policy
Quick workflow
- Read any existing project rule sources.
- Check user instructions from the conversation.
- Read existing
AGENT.md,CLAUDE.md, or other rule files if they exist. - Extract stable defaults, not one-off task requests.
- Create or update the three profiles.
response-style.profile.jsonagent-policy.profile.jsonllm-policy.profile.json- Recommended path:
<project>/.codex/rules/
- Sync the project files.
- Run
scripts/sync_project_rules.py --project <path> --style-profile ... --agent-policy ... --llm-policy ... - By default this updates both
AGENT.mdandCLAUDE.md. - The script preserves content outside the managed block when files already exist.
- Keep rules operational.
- Write short rules another agent can follow.
- Prefer explicit behavior over slogans.
- Keep style, workflow, and LLM-cost policy separate.
Key naming convention
Use the new shorter keys by default:
profile_idlanguage_modedetail_levelplanning_rulescloud_api_rules
The script still accepts older aliases such as profile_name, language_policy, or planning_policy for backward compatibility.
Profile split
response-style profile
Use for:
- Korean-first or match-user language behavior
- answer structure
- detail level and tone
- verification reporting style
- formatting preferences
agent-policy profile
Use for:
- ask-before-proceed rules
- dev-plan-first workflow
- parallel-agent preference
- scope expansion restrictions
- persona and review stance
llm-policy profile
Use for:
- cloud API restriction policy
- proxy-first rules
- preferred repos such as
multi_model_tui - latest OSS proxy research checklist
- cost / compatibility / compliance notes
Managed-file policy
The sync script uses a managed block:
<!-- BEGIN RESPONSE-STYLE-SYNC --><!-- END RESPONSE-STYLE-SYNC -->
Keep generated rules inside this block. Keep project-specific exceptions outside it.
Recommended extras to propose
If the user asks for a project rule system, also suggest these:
- One profile bundle per repo
- Keep the three JSON files under
.codex/rules/.
- Presets
- Add
concise,standard,detailed,review-heavy, orrelease-modepresets.
- Escalation thresholds
- Define exactly when the agent must ask before proceeding:
- destructive changes
- cost-bearing cloud calls
- architecture changes
- unclear scope
- Proxy selection checklist
- Evaluate compatibility, streaming, tool history, hosted tools, auth, logging, and human-input behavior before choosing a proxy.
- Conflict policy
- State that higher-priority system/developer rules override project files.
- State that direct current-turn user requests override project defaults.
Resources
scripts/
sync_project_rules.py- Initialize a starter 3-profile bundle.
- Render and sync
AGENT.md/CLAUDE.md. - Preserve non-managed file content when possible.
sync_response_style.py- Backward-compatible wrapper for style-only usage.
references/
style-profile-schema.mdagent-policy-schema.mdllm-policy-schema.mdproxy-selection-checklist.md
assets/
response-style.profile.template.jsonagent-policy.profile.template.jsonllm-policy.profile.template.jsonAGENT.md.templateCLAUDE.md.template
Minimal validation
After editing the profiles or templates:
- run
python3 scripts/sync_project_rules.py --init-bundle-dir <tmp/rules>once - run
python3 scripts/sync_project_rules.py --project <tmp/project> --style-profile ... --agent-policy ... --llm-policy ... - inspect generated
AGENT.mdandCLAUDE.md - run the legacy wrapper once to confirm backward compatibility
- run
../../validate.shfrom the package root before Git push