소스 정보
- 저장소
- ptreezh/sscisubagent-skills
- 최근 소스 활동
- 2025년 12월 28일 15:46
- 감지된 SKILL.md 언어
- 영어
- 스타
- 28
- 포크
- 7
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SOC 직업 분류 기준
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/ptreezh/sscisubagent-skills --skill network-computation명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | network-computation |
| description | 社会网络计算分析工具,提供网络构建、中心性测量、社区检测、网络可视化等完整的网络分析支持 |
| version | 1.0.0 |
| author | socienceAI.com |
| tags | ["network-analysis","social-networks","centrality","community-detection","visualization"] |
社会网络计算分析技能为社会科学研究提供全面的网络分析支持,包括网络构建、中心性测量、社区检测、网络可视化等,帮助研究者深入理解社会关系结构和动态。
Use this skill when the user requests:
When a user requests network analysis:
当需要执行网络计算分析时,调用 calculate_centrality.py 脚本,该脚本整合了网络分析的主要功能。
{
"network_data": {
"nodes": [
{
"id": "节点唯一ID",
"label": "节点标签",
"attributes": {
"type": "节点类型",
"size": "节点大小",
"group": "节点分组"
}
}
],
"edges": [
{
"source": "源节点ID",
"target": "目标节点ID",
"weight": "边权重",
"type": "边类型",
"attributes": {
"strength": "关系强度",
"direction": "方向性"
}
}
]
},
"analysis_parameters": {
"network_type": "directed/undirected",
"is_weighted": true,
"centrality_metrics": ["degree", "betweenness", "closeness", "eigenvector"],
"community_method": "louvain/modularity/greedy",
"visualization_type": "static/interactive",
"node_attributes": ["type", "size", "group"],
"edge_attributes": ["weight", "strength", "direction"]
},
"analysis_context": "分析背景和目的",
"research_questions": ["研究问题列表"]
}
{
"summary": {
"network_size": "网络规模(节点数)",
"network_density": "网络密度",
"connected_components": "连通分量数",
"analysis_time": "分析耗时"
},
"details": {
"network_metrics": {
"density": "网络密度",
"clustering_coefficient": "聚类系数",
"average_path_length": "平均路径长度",
"diameter": "网络直径",
"components": {
"number_of_components": "连通分量数",
"largest_component_size": "最大连通分量规模"
}
},
"centrality_analysis": {
"degree_centrality": {
"node_id": "中心度值"
},
"betweenness_centrality": {
"node_id": "中心度值"
},
"closeness_centrality": {
"node_id": "中心度值"
},
"eigenvector_centrality": {
"node_id": "中心度值"
},
"top_nodes_by_centrality": {
"degree": ["按度中心度排序的节点"],
"betweenness": ["按中介中心度排序的节点"],
"closeness": ["按接近中心度排序的节点"],
"eigenvector": ["按特征向量中心度排序的节点"]
}
},
"community_detection": {
"number_of_communities": "社区数量",
"communities": [
{
"id": "社区ID",
"size": "社区规模",
"nodes": ["节点列表"],
"modularity": "模块度值",
"description": "社区描述"
}
],
"node_to_community": {
"node_id": "社区ID"
}
},
"structural_analysis": {
"structural_holes": ["结构洞分析结果"],
"bridges": ["桥接节点"],
"brokerage_roles": ["中介角色"]
}
},
"visualization": {
"static_image": "静态图像链接",
"interactive_graph": "交互图链接",
"layout": "布局类型",
"color_scheme": "配色方案"
},
"interpretation": {
"key_findings": ["关键发现"],
"social_interpretation": "社会学解释",
"research_insights": ["研究洞察"]
}
},
"metadata": {
"timestamp": "时间戳",
"version": "版本号",
"skill": "network-computation",
"analysis_parameters": "分析参数"
}
}
network_format: Input format (edgelist, adjacency matrix, JSON, etc.)directed: Whether the network is directed (default: false)weighted: Whether the network is weighted (default: true)centrality_metrics: List of centrality measures to computecommunity_method: Community detection algorithm to usevisualization_type: Type of visualization (static, interactive)node_attributes: Additional node properties to visualizeedge_attributes: Additional edge properties to visualizeUser: "Analyze this social network and identify the most important actors" Response: Calculate all centrality measures, identify key nodes, interpret in social context.
User: "Find communities within this organization's communication network" Response: Apply community detection algorithms, validate structure, interpret meaning.
User: "Create a visualization of this collaboration network" Response: Generate network diagram with appropriate layout, highlight important nodes.
skills/network-computation/scripts/calculate_centrality.py