Community생산성 & 협업github.com

microsoft/markdown-token-optimizer

AI 에이전트를 위한 설치 가능한 스킬로, 마크다운을 토큰 최적화된 형식으로 변환합니다.

markdown-token-optimizer란 무엇인가요?

microsoft/markdown-token-optimizer는 AI 에이전트(예: Claude Code, Cursor, Codex)에 설치할 수 있는 스킬로, 마크다운 문서의 토큰 사용량을 최적화합니다. 이 스킬은 마크다운의 구조적 정보(헤더, 리스트, 코드 블록 등)를 유지하면서 불필요한 공백이나 중복 콘텐츠를 제거함으로써 AI 모델의 컨텍스트 윈도우를 효율적으로 활용할 수 있도록 돕습니다. 주로 대규모 마크다운 파일을 처리하거나 AI 어시스턴트에 프롬프트로 제공할 때 유용하며, 개발자와 AI 시스템 모두가 더 적은 토큰으로 더 많은 정보를 교환할 수 있게 해줍니다. 기본적으로 SKILL.md 문서에 정의된 규칙에 따라 작동하며, 다양한 AI 플랫폼에서 일관된 성능을 제공합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/microsoft/azure-skills/tree/main/skills/markdown-token-optimizer

Installed? Explore more 생산성 & 협업 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

markdown-token-optimizer은(는) 무엇을 하나요?

microsoft/markdown-token-optimizer — AI 에이전트를 위한 설치 가능한 스킬입니다.

마크다운 문서의 토큰 사용량을 최적화하여 AI 모델의 컨텍스트 윈도우를 효율적으로 활용합니다. 이 스킬은 헤더, 리스트, 코드 블록과 같은 구조적 요소를 보존하면서 불필요한 공백과 중복을 제거합니다.

설치

# 예시 설치 명령어 (실제 CLI 도구에 따라 다를 수 있음)
skill install microsoft/markdown-token-optimizer

사용법

스킬을 설치한 후 AI 에이전트에게 마크다운 문서를 최적화하도록 요청하세요. 예를 들어:

"이 마크다운 파일을 토큰 최적화해줘."

또는 직접 함수 호출:

# 예시 Python 코드
optimizer = MarkdownTokenOptimizer()
optimized_text = optimizer.optimize(markdown_text)

주요 기능

  • 불필요한 공백 제거: 여러 줄의 빈 줄이나 끝 공백을 제거합니다.
  • 중복 콘텐츠 축소: 반복되는 헤더나 동일한 링크 텍스트를 간결하게 만듭니다.
  • 코드 블록 유지: 코드 블록 내부의 공백과 줄바꿈은 그대로 보존합니다.
  • 링크 최적화: URL을 짧게 줄이거나 상대 경로로 변환합니다.

지원 플랫폼

  • Claude Code
  • Cursor
  • Codex
  • 기타 AI 에이전트

라이선스

이 프로젝트는 MIT 라이선스에 따라 배포됩니다.

기여

버그 리포트나 기능 제안은 GitHub Issues를 통해 제출해주세요.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

microsoft/airunway-aks-setup

Agent skill 'airunway-aks-setup' from microsoft/azure-skills. Use when the task matches this skill's domain.

microsoft/appinsights-instrumentation

Agent skill 'appinsights-instrumentation' from microsoft/azure-skills. Use when the task matches this skill's domain.

microsoft/azure-ai

Agent skill 'azure-ai' from microsoft/azure-skills. Use when the task matches this skill's domain.

microsoft/azure-aigateway

Agent skill 'azure-aigateway' from microsoft/azure-skills. Use when the task matches this skill's domain.

microsoft/azure-app-onboard

Agent skill 'azure-app-onboard' from microsoft/azure-skills. Use when the task matches this skill's domain.

microsoft/azure-app-onboard-prereq

Assess whether source code is ready to deploy to Azure — the check BEFORE infrastructure work. Evaluates build health, app completeness, dependencies and local services, stack compatibility, and deployment feasibility. Answers questions about what your app needs before it can be deployed — frameworks, dependencies, and configuration. Checks whether dependencies are compatible and identifies deployment blockers and unsupported frameworks. WHEN: \"evaluate my repo\", \"is my app ready to deploy\", \"what does my app need to deploy\", \"what do I need before deploying\", \"does my app need\", \"can I ship this to Azure\", \"scan my repo for issues\", \"is this app deployable\", \"check if my app is ready for Azure\", \"do I need a Dockerfile\", \"what's blocking my deployment\", \"are there any blockers\", \"are my dependencies compatible\", \"does Azure support my framework\", \"what needs to change before deploying\", \"check my app configuration\".

microsoft/azure-cloud-migrate

Agent skill 'azure-cloud-migrate' from microsoft/azure-skills. Use when the task matches this skill's domain.

microsoft/azure-compliance

Agent skill 'azure-compliance' from microsoft/azure-skills. Use when the task matches this skill's domain.

microsoft/azure-compute

Agent skill 'azure-compute' from microsoft/azure-skills. Use when the task matches this skill's domain.

microsoft/azure-cost

Agent skill 'azure-cost' from microsoft/azure-skills. Use when the task matches this skill's domain.

microsoft/azure-cost-optimization

Identify Azure cost savings from usage and spending data. USE FOR: optimize Azure costs, reduce Azure spending/expenses, analyze Azure costs, find cost savings, generate cost optimization report, identify orphaned resources to delete, rightsize VMs, reduce waste, optimize Redis costs, optimize storage costs, AKS cost analysis add-on, namespace cost, cost spike, anomaly, budget alert, AKS cost visibility. DO NOT USE FOR: deploying resources (use azure-deploy), general Azure diagnostics (use azure-diagnostics), security issues (use azure-security)

microsoft/azure-deploy

Agent skill 'azure-deploy' from microsoft/azure-skills. Use when the task matches this skill's domain.

microsoft/azure-diagnostics

Agent skill 'azure-diagnostics' from microsoft/azure-skills. Use when the task matches this skill's domain.

microsoft/azure-enterprise-infra-planner

Agent skill 'azure-enterprise-infra-planner' from microsoft/azure-skills. Use when the task matches this skill's domain.

microsoft/azure-hosted-copilot-sdk

Build, deploy, and modify GitHub Copilot SDK apps on Azure. MANDATORY when codebase contains @github/copilot-sdk or CopilotClient in package.json. PREFER OVER azure-prepare when copilot-sdk markers detected. WHEN: copilot SDK, @github/copilot-sdk, copilot-powered app, build copilot app, prepare copilot app, add feature to copilot app, modify copilot app, BYOM, bring your own model, CopilotClient, createSession, sendAndWait, azd init copilot. DO NOT USE FOR: deploying already-prepared copilot-sdk apps (use azure-deploy), general web apps without copilot SDK (use azure-prepare), Copilot Extensions, Foundry agents (use microsoft-foundry).

microsoft/azure-kubernetes

Agent skill 'azure-kubernetes' from microsoft/azure-skills. Use when the task matches this skill's domain.

microsoft/azure-kusto

Agent skill 'azure-kusto' from microsoft/azure-skills. Use when the task matches this skill's domain.

microsoft/azure-messaging

Agent skill 'azure-messaging' from microsoft/azure-skills. Use when the task matches this skill's domain.

microsoft/azure-observability

Azure Observability Services including Azure Monitor, Application Insights, Log Analytics, Alerts, and Workbooks. Provides metrics, APM, distributed tracing, KQL queries, and interactive reports. USE FOR: Azure Monitor, Application Insights, Log Analytics, Alerts, Workbooks, metrics, APM, distributed tracing, KQL queries, interactive reports, observability, monitoring dashboards. DO NOT USE FOR: instrumenting apps with App Insights SDK (use appinsights-instrumentation), querying Kusto/ADX clusters (use azure-kusto), cost analysis (use azure-cost-optimization).

microsoft/azure-postgres

azure-postgres — an installable skill for AI agents.

관련 스킬