masslab-sii/student-database
Student database processing tools. Includes grade calculation, duplicate name detection, recommendation letter filtering, and TOEFL score filtering.
npx skills add https://github.com/MassLab-SII/open-agent-skills --skill student-database
This skill provides tools for processing student database:
./student_database).Calculate student grades from student database and generate output files.
python gradebased_score.py ./student_database
# Specify output directory
python gradebased_score.py ./student_database --output-dir ./output
Find duplicate names in student database.
python duplicate_name.py ./student_database
# Specify output file
python duplicate_name.py ./student_database --output ./namesake.txt
name: xxx
count: xxx
ids: xxx, xxx, ...
name: yyy
count: yyy
ids: yyy, yyy, ...
Find students with specified grade(s) from recommendation_letter.txt files.
# Filter students with grade S
python filter_by_recommendation.py ./student_database S
# Filter students with grade A
python filter_by_recommendation.py ./student_database A
# Filter students with grade S OR A
python filter_by_recommendation.py ./student_database SA
Find students with TOEFL score >= a specified threshold.
# Find students with TOEFL >= 100
python filter_by_toefl.py ./student_database 100
# Find students with TOEFL >= 90
python filter_by_toefl.py ./student_database 90
Below are the basic tool functions. These are atomic operations for flexible combination.
Prefer Skills over Basic Tools: When a task matches one of the Skills above, use the corresponding Skill instead of Basic Tools. Skills are more efficient because they can perform batch operations in a single call.
Note: Code should be written without line breaks.
# Standard format
python run_fs_ops.py -c "await fs.read_text_file('./file.txt')"
read_text_file(path, head=None, tail=None)Use Cases:
Example:
python run_fs_ops.py -c "await fs.read_text_file('./data/file.txt')"
read_multiple_files(paths)Use Cases:
Example:
python run_fs_ops.py -c "await fs.read_multiple_files(['./a.txt', './b.txt'])"
write_file(path, content)Use Cases:
⚠️ Warning: Do NOT include triple backticks ( `) in the content, as this will break command parsing.
Example:
python run_fs_ops.py -c "await fs.write_file('./new.txt', 'Hello World')"
edit_file(path, edits)Use Cases:
Example:
python run_fs_ops.py -c "await fs.edit_file('./file.txt', [{'oldText': 'foo', 'newText': 'bar'}])"
create_directory(path)Use Cases:
Example:
python run_fs_ops.py -c "await fs.create_directory('./new/nested/dir')"
list_directory(path)Use Cases:
Example:
python run_fs_ops.py -c "await fs.list_directory('.')"
list_files(path=None, exclude_hidden=True)Use Cases:
Example:
python run_fs_ops.py -c "await fs.list_files('./data')"
move_file(source, destination)Use Cases:
Example:
python run_fs_ops.py -c "await fs.move_file('./old.txt', './new.txt')"
search_files(pattern, base_path=None)Use Cases:
Example:
python run_fs_ops.py -c "await fs.search_files('*.txt')"
get_file_info(path)Use Cases:
Example:
python run_fs_ops.py -c "await fs.get_file_info('./file.txt')"
get_file_size(path)Use Cases:
Example:
python run_fs_ops.py -c "await fs.get_file_size('./file.txt')"
get_file_ctime(path) / get_file_mtime(path)Use Cases:
Example:
python run_fs_ops.py -c "await fs.get_file_mtime('./file.txt')"
get_files_info_batch(filenames, base_path=None)Use Cases:
Example:
python run_fs_ops.py -c "await fs.get_files_info_batch(['a.txt', 'b.txt'], './data')"
Take masslab-sii/student-database from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.