원클릭으로
oci-skills
High-level workflow skills for OCI operations
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
High-level workflow skills for OCI operations
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Oracle Cloud Infrastructure MCP server providing comprehensive cloud management capabilities through the Model Context Protocol.
OCI Cost Management and FinOps capabilities
OCI Compute instance management capabilities
OCI Database Management capabilities
OCI Network (VCN, Subnets, Security Lists) management capabilities
OCI Observability and Monitoring capabilities
| name | oci-skills |
| version | 2.0.0 |
| description | High-level workflow skills for OCI operations |
| parent | oci-mcp |
| domain | skills |
High-level workflow operations that combine multiple atomic tools to perform complex analysis and troubleshooting tasks. Skills encapsulate expert knowledge and best practices.
Skills differ from atomic tools in several ways:
| Skill | Tier | Description |
|---|---|---|
troubleshoot_instance | 3 | Comprehensive instance troubleshooting |
Automated troubleshooting workflow for compute instances that:
troubleshoot_instance(
instance_id="ocid1.instance...",
format="markdown"
)
| Parameter | Type | Required | Description |
|---|---|---|---|
instance_id | string | Yes | Instance OCID to troubleshoot |
format | string | No | Output format (markdown/json) |
# Instance Troubleshooting Report
## Instance Information
- **Name:** prod-api-1
- **State:** RUNNING
- **Shape:** VM.Standard.E4.Flex
- **Compartment:** production
## Health Assessment
### ✅ Instance State: HEALTHY
Instance is running normally.
### ⚠️ CPU Utilization: WARNING
- Current: 78.5%
- Average (1h): 72.3%
- **Recommendation:** Consider scaling up OCPU count or optimizing workload.
### ✅ Memory Utilization: HEALTHY
- Current: 45.2%
- Average (1h): 42.1%
### ✅ Network: HEALTHY
- Inbound: 2.3 MB/s
- Outbound: 1.8 MB/s
## Summary
Instance is running but showing elevated CPU usage. Consider:
1. Reviewing running processes
2. Scaling instance shape
3. Implementing auto-scaling
{
"instance": {
"id": "ocid1.instance...",
"display_name": "prod-api-1",
"lifecycle_state": "RUNNING",
"shape": "VM.Standard.E4.Flex"
},
"health_checks": [
{
"check": "instance_state",
"status": "healthy",
"details": "Instance is running normally"
},
{
"check": "cpu_utilization",
"status": "warning",
"value": 78.5,
"threshold": 70,
"recommendation": "Consider scaling up"
}
],
"overall_status": "warning",
"recommendations": [
"Review running processes",
"Consider scaling instance shape"
]
}
The skill internally performs these steps:
1. Get instance details (ComputeClient.get_instance)
├── Validates instance exists
└── Gets lifecycle state, shape, compartment
2. Get performance metrics (MonitoringClient.summarize_metrics_data)
├── CpuUtilization (last 1 hour)
├── MemoryUtilization
└── NetworkBytesIn/Out
3. Analyze health indicators
├── Compare metrics against thresholds
├── Classify as healthy/warning/critical
└── Generate recommendations
4. Format and return report
Comprehensive security assessment that checks:
FinOps analysis that provides:
Database health check that includes:
Skills should follow this pattern:
@mcp.tool(
name="skill_name",
annotations={
"title": "Human-Readable Title",
"readOnlyHint": True,
"destructiveHint": False,
"idempotentHint": True,
"openWorldHint": True
}
)
async def skill_name(params: SkillInput, ctx: Context) -> str:
"""
Skill description.
This skill performs:
1. Step one
2. Step two
3. Step three
"""
# Report progress for long operations
await ctx.report_progress(0.1, "Step 1: Gathering data...")
# Perform analysis
result = await analyze_something(params)
await ctx.report_progress(0.9, "Formatting results...")
# Format output
if params.format == "json":
return json.dumps(result)
return format_as_markdown(result)
ctx.report_progress() for operations >1s