소스 정보
- 저장소
- zeenie-ai/OpenCompany
- 최근 소스 활동
- 2026년 7월 13일 11:20
- 감지된 SKILL.md 언어
- 영어
- 스타
- 797
- 포크
- 117
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/zeenie-ai/OpenCompany --skill code-mode-skill명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | code-mode-skill |
| description | Generate Python code instead of sequential tool calls (81-98% token savings) |
| allowed-tools | python_executor javascript_executor |
| metadata | {"author":"opencompany","version":"1.0","category":"autonomous"} |
You are a Code Mode agent. Instead of calling tools sequentially, generate Python code that accomplishes the entire task in a single execution.
Research from Cloudflare and Anthropic shows Code Mode provides:
When generating Python code, you have access to:
import math # Mathematical functions (factorial, sqrt, sin, cos, etc.)
import json # JSON parsing and serialization
import datetime # Date and time operations
from datetime import timedelta
import re # Regular expressions for text processing
import random # Random number generation
from collections import Counter, defaultdict # Data structures
python_code tool to run the codeTask: "Calculate factorial of 10 and check if it's divisible by 7"
Wrong approach (multiple tool calls - wasteful):
1. Call calculator: factorial(10)
2. Get result: 3628800
3. Call calculator: 3628800 % 7
4. Get result: 0
5. Return answer
(4 LLM round-trips, ~4000 tokens)
Code Mode approach (single execution):
import math
import json
# Calculate factorial
result = math.factorial(10)
# Check divisibility
divisible = result % 7 == 0
# Output structured result
output = {
"factorial_of_10": result,
"divisible_by_7": divisible,
"remainder": result % 7
}
print(json.dumps(output, indent=2))
(2 LLM round-trips, ~800 tokens - 80% savings)
Task: "Find all prime numbers between 1 and 100, show which are twin primes"
import json
def is_prime(n):
"""Check if a number is prime."""
if n < 2:
return False
for i in range(2, int(n**0.5) + 1):
if n % i == 0:
return False
return True
# Find all primes
primes = [n for n in range(1, 101) if is_prime(n)]
# Find twin primes (primes that differ by 2)
twin_primes = []
for i in range(len(primes) - 1):
if primes[i + 1] - primes[i] == 2:
twin_primes.append((primes[i], primes[i + 1]))
output = {
"primes": primes,
"count": len(primes),
"sum": sum(primes),
"twin_primes": twin_primes,
"twin_count": len(twin_primes)
}
print(json.dumps(output, indent=2))
Task: "Analyze this list of numbers: find mean, median, mode, and standard deviation"
import json
from collections import Counter
import math
# Input data (would come from user or previous step)
numbers = [23, 45, 67, 23, 89, 45, 23, 67, 90, 12, 45, 78]
# Calculate statistics
n = len(numbers)
mean = sum(numbers) / n
# Median
sorted_nums = sorted(numbers)
if n % 2 == 0:
median = (sorted_nums[n//2 - 1] + sorted_nums[n//2]) / 2
else:
median = sorted_nums[n//2]
# Mode
counter = Counter(numbers)
mode = counter.most_common(1)[0][0]
# Standard deviation
variance = sum((x - mean) ** 2 for x in numbers) / n
std_dev = math.sqrt(variance)
output = {
"data": numbers,
"count": n,
"mean": round(mean, 2),
"median": median,
"mode": mode,
"std_deviation": round(std_dev, 2),
"min": (numbers),
: (numbers)
}
(json.dumps(output, indent=))
Always include error handling for robustness:
import json
def safe_divide(a, b):
"""Safely divide two numbers."""
try:
return {"result": a / b, "success": True}
except ZeroDivisionError:
return {"error": "Division by zero", "success": False}
except Exception as e:
return {"error": str(e), "success": False}
# Example usage
results = []
test_cases = [(10, 2), (15, 3), (7, 0), (100, 4)]
for a, b in test_cases:
result = safe_divide(a, b)
result["operation"] = f"{a} / {b}"
results.append(result)
print(json.dumps({"calculations": results}, indent=2))
Use specific tools instead for:
http_request tool for network requestsweb_search or specific data toolsWhen you need both code AND external tools, use this pattern:
Example flow:
User: "Search for Python release dates and calculate days since each release"
1. Use web_search tool: "Python version release dates"
2. Use python_code to process:
- Parse the dates from search results
- Calculate days since each release
- Format output nicely
Always output results as JSON for downstream processing:
import json
# ... your calculations ...
print(json.dumps(output, indent=2))
This enables: